Wednesday, 2022-10-05

noonedeadpunkhm, what's wrong with git-core.... https://zuul.opendev.org/t/openstack/build/cec068efae7c4a3991162fa659cdb1e7/log/job-output.txt#13859 is that some another weird dependency resolver issue brought in by apt module changes...08:22
jrosser_do we need to backport this https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/834183 (re ML posts)08:24
noonedeadpunkThat is great question08:25
noonedeadpunkI haven't checked when we introduced to use overrides_only08:26
noonedeadpunkwait08:26
noonedeadpunkI provided wrong patch in ML08:26
noonedeadpunkdamn08:27
noonedeadpunkor it's correct one....08:28
kleiniIs it somehow possible to change configuration for keepalived in haproxy_server role? I have issues sending VRRP multicast packages if the network interface is a Linux bridge. sendmsg in keepalived gets EPERM. unicast VRRP works.08:29
noonedeadpunkkleini: anskiy has switched to unicast with overrides. He also pushed several patches to improve way of defining these overrides. 08:30
noonedeadpunkso yes, in short that is possible08:30
noonedeadpunkjrosser_: I think that's right patch at the end :D As we place thing to /etc/systemd which indeed applies overrides. So I guess we can backport it relatively safely08:31
jrosser_yeah it's definatly a bug - i remember spatel having trouble with this08:31
jrosser_but you are right it needs the right features in systemd_service role to match08:32
noonedeadpunkI guess ansible 2.13 still breaks installation of meta packages...08:33
jrosser_where it tries to work out the versions?08:34
noonedeadpunkyeah08:34
noonedeadpunkbut I fail to understand why it does work in some containers but not in others08:35
jrosser_feels like eventually they have to re-implement the whole of apt somehow08:35
jrosser_very odd08:35
noonedeadpunkthey said they still do that to identify changed state...08:36
noonedeadpunkso prefer fixing own dependency resolution thing08:36
noonedeadpunkbut maybe this failure is because we don't update cache...08:37
noonedeadpunk"attempts": 5, "cache_update_time": 1664887751, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'cmake=3.18.4-2+deb11u1' 'python3-pkgconfig=1.5.1-3' 'python3-setuptools=59.6.0-1.2~bpo11+1' 'git-core=1:2.34.1-1~bpo11+1' 'libkmod-dev=28-1' 'libpq-dev=13.8-0+deb11u1' 'libxslt1-dev=1.1.34-4+deb11u1'' failed: E: Version '1:2.34.1-08:38
noonedeadpunk1~bpo11+1' for 'git-core' was not found08:38
jrosser_noonedeadpunk: probably becasue of this https://github.com/openstack/openstack-ansible-os_cinder/blob/d120669a7d8f14af3ab1ba1ee3b438ac88225358/vars/debian.yml#L3508:38
jrosser_i expect we can drop that no problem08:38
noonedeadpunkbut we do have git-core in more roles08:38
noonedeadpunkoh, I see difference though08:39
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible-os_placement/src/branch/master/vars/redhat.yml#L1708:39
kleiniMariaDB is configured with 200 max connections. my deployment has total 15 nodes. haproxy seems to send all connections to the first instance and it runs constantly into max connections making then the clustercheck fail. is it correct, that first instance needs to cover all connections?08:40
noonedeadpunkkleini: with haproxy there's no other way. With more proper balancer (L7 instead of L4) it would be possible to send read connections to other backends08:42
noonedeadpunkbut maria still needs to recieve writes only on 1 backend08:42
noonedeadpunkjrosser_: so I'm quite confused how placement passed and cinder not08:42
noonedeadpunkah lol08:43
noonedeadpunkI've opened redhat for placement08:44
* noonedeadpunk needs some extra coffee08:44
noonedeadpunkDebian is indeed does smth weird with git-core08:46
noonedeadpunkhttps://paste.openstack.org/show/bbkAID5tL50dCygQfTLX/08:46
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_cinder master: Replace git-core with git for debian  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/86034908:51
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_ironic master: Replace git-core with git for debian  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/86035008:53
noonedeadpunkzigo: you might be interested in this behaviour as well (how ansible-core 2.13 tries to install git-core specifically on Debian)08:54
zigonoonedeadpunk: The git-core package doesn't exist since buster...08:55
noonedeadpunkwell... there's smth transitioning present?08:56
zigoIt's a virtual package (ie: a package that other packages have a "Provides:" only).08:56
zigo"git" Provides: it...08:56
noonedeadpunkso basically nobody supposed to use `apt install git-core`?08:57
zigoCorrect.08:57
noonedeadpunkok, thanks08:57
zigoSame in Ubuntu btw.08:57
noonedeadpunkI wonder how ansible does find (and tries to install) 'git-core=1:2.34.1-1~bpo11+1' when it's said to isntall git-core08:58
noonedeadpunkfor some reason ubuntu does not fail same way...08:58
zigoNo idea. I'm not an ansible user, I think Ansible is a way too slow, and I don't like yaml everywhere. I'm currently working on packaging https://github.com/purpleidea/mgmt in Debian to see if it's doing the job better than puppet/salt/ansible...08:59
zigoI use Ansible for small tasks only.08:59
noonedeadpunkoh, ok, thanks for input anyway!09:00
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_cloudkitty master: Replace git-core with git for debian  https://review.opendev.org/c/openstack/openstack-ansible-os_cloudkitty/+/86035309:02
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_manila master: Replace git-core with git for debian  https://review.opendev.org/c/openstack/openstack-ansible-os_manila/+/86035409:03
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_mistral master: Replace git-core with git for debian  https://review.opendev.org/c/openstack/openstack-ansible-os_mistral/+/86035509:04
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Replace git-core with git for debian  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86035609:04
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_swift master: Replace git-core with git for debian  https://review.opendev.org/c/openstack/openstack-ansible-os_swift/+/86035709:05
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_tempest master: Replace git-core with git for debian  https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/86035809:06
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Bump ansible-core version to 2.13.4  https://review.opendev.org/c/openstack/openstack-ansible/+/85750609:08
kleiniDo we have somewhere a sizing, how much database connections are necessary at maximum? Upgrade to Ubuntu 20.04 on infra nodes seems to increase dramatically the amount of necessary database connections. Only half of OS services are up now and the double amount of database connections are used.09:41
noonedeadpunkkleini: I don't think we do. But I'd say set smth like 200009:47
noonedeadpunkor 150009:47
kleinioh, found now: "computed value which is (100 x vCPUs) with a cap of 1600", which would mean 1200 connections on my primary infra node. but this is calculated now to 200. here is the issue!10:04
opendevreviewMerged openstack/ansible-hardening master: Remove sebang from get_users  https://review.opendev.org/c/openstack/ansible-hardening/+/86027610:17
kleinihttps://paste.opendev.org/show/bAdKVbg2kPAZcqNLx5O6/ <- here is the output of the calcuation for Galera max connections. It does something weird on Ubuntu 20.04.10:45
jrosser_kleini: which branch/release are you using?10:51
damiandabrowskiit would be calculated to 200 if `hostvars[galera_node]['ansible_facts']['processor_vcpus']` is not set10:51
kleini23.4.110:51
damiandabrowskii wonder if this fact was available for all galera nodes when you were running galera playbook10:52
jrosser_if the facts are more than 24h old then they are timed-out10:52
kleinihttps://paste.opendev.org/show/bq4OxVNGb04kevk62BmX/10:55
kleiniyes, sorry, only 2 infra nodes and even number of Galera instances.10:55
jrosser_but if those facts were not gathered in the galera playbook they would not have been there10:56
jrosser_oh well.... not sure actually10:57
kleiniI have in staging one infra node with 18.04 and one with 20.04 and I can compare directly. ansible_facts vcpus is correct there. must be something with the calculation in the jinja2 template: my.cnf.j210:58
kleinibut I have no idea, how to debug a jjnja2 template on the fly...10:58
jrosser_you can just template more stuff out into the resulting file, in comments or something11:00
jrosser_perhaps insert a fail: task into the tasks right after the templating and write out whatever you need11:03
damiandabrowskiwhen it comes to debugging, you can start with this: https://paste.openstack.org/raw/biln0fya9AlvMooYCwZf/11:03
damiandabrowskiunfortunately i wasn't able to finish it as I need to leave now :/ good luck11:04
jrosser_^ nice11:05
jrosser_kleini: https://paste.opendev.org/show/bg5ONlfDiwfaElFhtIRJ/11:12
kleinithat works and provides good values11:15
jrosser_hopefully thats helpful to work out what is going on11:17
kleiniI can not reproduce the issue in production any more. In staging processor_vcpus is unknown. It gets more and more strange...11:19
kleini*becomes*11:19
jrosser_take a look in the cached facts in /etc/openstack_deploy/ansible_facts/.....11:21
jrosser_see if the vcpu data is there11:21
jrosser_the task "gather additional hardware facts" in the playbook i pasted is the one that should make that be populated11:21
opendevreviewMerged openstack/openstack-ansible-galera_server master: Use policy_rc_d attribute instead of copy  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/85927211:22
jrosser_i had `"The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'processor_vcpus'` until i added that extra facts gathering step in11:22
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Bump mariadb version to 10.6.10  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/85855511:26
opendevreviewMerged openstack/openstack-ansible-lxc_hosts master: Use policy_rc_d attribute instead of copy  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/85927311:27
kleiniI have ansible_processor_vcpus in cached facts but not processor_vcpus. And if that is missing that default(2) seems to be used.11:28
jrosser_it should be that ansible_processor_vcpus is equivalent to ['ansible_facts']['processor_vcpus']11:29
jrosser_perhaps print the both of those as debug tasks11:29
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-haproxy_server master: Allow do disable SSL only for stats frontend  https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/85893911:29
kleinihttps://paste.opendev.org/show/bDcZIadUhradI8knd2QG/ <- do you see a difference? I am searching for the typo11:34
opendevreviewMerged openstack/openstack-ansible-os_trove master: Change networks_info output structure  https://review.opendev.org/c/openstack/openstack-ansible-os_trove/+/85507511:36
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-haproxy_server master: Validate haproxy conf after assemble  https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/86040211:37
jrosser_well the only thing that comes to mind is https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars11:38
jrosser_but we don't mess with that11:38
jrosser_kleini: your paste is two different deployments even though the container names are the same?11:40
noonedeadpunkjrosser_: btw I guess we never disabled INJECT_FACTS_AS_VARS?11:44
jrosser_no - as there were a bunch of things in external repos, which actually we might have got rid of now11:45
jrosser_i think sshd role being one of them11:45
noonedeadpunkbtw in older releases running with tags could also result in not gathering facts11:45
noonedeadpunkand keepalived another one, but I know it was also fixed11:46
noonedeadpunkmaybe ceph-ansible....11:46
jrosser_kleini: ^ this is a great point - can you check that you have this patch? https://github.com/openstack/openstack-ansible/commit/2492d82da6fe3070528f6155bb918e45d050180911:46
jrosser_but if no tags are used it should be OK?11:47
noonedeadpunkyes, without tags it should be fine11:47
anskiythere was a patch for the calculation some time ago that, I think, jrosser_ did11:48
anskiywhere it wrongly tried to do operation on string, and afair, it was merged in W?..11:48
jrosser_noonedeadpunk: here for disabling fact vars injections https://review.opendev.org/c/openstack/openstack-ansible/+/77839611:50
jrosser_maybe we are close now to being able to disable that11:50
anskiyhttps://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/820058 this one11:50
noonedeadpunkwe should try rebasing 778396 and see I guess11:51
jrosser_i think thats fairly obvious in the debug output as you get the cpu count number repeated 100 times11:52
anskiythis thing was fixed here: https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/820058, and I think it was merged in X?.. Whilst kleini runs 23.something11:54
anskiykleini: here is an example of unicast things for keepalive: https://paste.opendev.org/show/bgimTlo8VKwEqNvG02ad/, if you aren't running master :) This thing goes into `user_variables.yaml`.11:58
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Disable fact variables  https://review.opendev.org/c/openstack/openstack-ansible/+/77839611:59
opendevreviewMerged openstack/openstack-ansible master: Fix cinder-volume AIO ceph scenario  https://review.opendev.org/c/openstack/openstack-ansible/+/85926312:01
opendevreviewMerged openstack/openstack-ansible master: Extend NFS scenario to support cinder  https://review.opendev.org/c/openstack/openstack-ansible/+/85933612:01
opendevreviewMerged openstack/openstack-ansible master: Run test_minimum_basic_scenario test for cinder  https://review.opendev.org/c/openstack/openstack-ansible/+/85933912:01
opendevreviewMerged openstack/openstack-ansible master: Replace usage of which with command  https://review.opendev.org/c/openstack/openstack-ansible/+/85955012:01
opendevreviewMerged openstack/openstack-ansible master: Require usage of service_token_roles  https://review.opendev.org/c/openstack/openstack-ansible/+/85643712:30
opendevreviewMerged openstack/openstack-ansible master: Do not spawn ironic-api on metal  https://review.opendev.org/c/openstack/openstack-ansible/+/85887712:30
kleinihttps://paste.opendev.org/show/bDcZIadUhradI8knd2QG/ <- this is the same deployment. feels like heisenberg's uncertainty12:31
opendevreviewMerged openstack/openstack-ansible-os_keystone master: Improve way of cache backend selection  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/85905412:44
kleinithanks, anskiy12:51
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Use ansible_facts[] instead of injected fact vars  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/86042414:18
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Disable fact variables  https://review.opendev.org/c/openstack/openstack-ansible/+/77839614:22
anskiynoonedeadpunk: is there some kind of ETA for Zed release? Trying to figure out if I could finish the changes until then.14:49
noonedeadpunkin OSA or in general?14:53
noonedeadpunkas in general it's already a feature freeze14:53
noonedeadpunkin osa - we have 2 month after general release14:53
noonedeadpunkso release date more depends on our definition of "done"14:54
anskiyin OSA. Okay, got it, thank you.14:54
noonedeadpunkthe earier we release is better, but historically we don't release early14:55
jrosser_anskiy: you should add stuff to here then it won't get forgotton https://etherpad.opendev.org/p/osa-antelope-ptg15:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Disable fact variables  https://review.opendev.org/c/openstack/openstack-ansible/+/77839615:07
anskiyjrosser_: they're a bit too specific and not that big, but here you go :)15:16
jrosser_perhaps i misunderstand - it sounded like you were working on patches you wanted in the Z release?15:17
anskiyyeah, I want these to be available in Zed release, that means I need to finish them until the cut happens, I suppose15:17
anskiybut they look kinda like normal patches, not topics, like the other points in the list15:19
anskiythat's why the question if it's okay to add them15:24
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Disable fact variables  https://review.opendev.org/c/openstack/openstack-ansible/+/77839615:25
NeilHanlonanskiy: can you share an example?15:40
NeilHanlonsee also: https://docs.openstack.org/openstack-ansible/latest/reference/releases.html#when-does-a-patch-to-an-osa-role-get-into-a-release15:43
anskiyNeilHanlon: I've already added them to etherpad... Thank you for the link with explanations.15:45
jrosser_anskiy: regarding OVN there is still a bunch of work to do on TLS15:47
anskiyjrosser_: which, I assume, just porting spatel's doc on it (https://satishdotpatel.github.io/ovn-ssl-setup-with-openstack/) to Ansible :)15:52
jrosser_anskiy: well almost the opposite really15:53
jrosser_OSA has it's own CA which should be used rather than whatever randomness OVN self-generates15:53
anskiywell, except that bit, yeah, but everything else looks fine (never used OVN with SSL)15:54
anskiycan't promise anything tho :( I still have some work to do with upstreaming my SDK patch, and creating another one for Nova. Hopefully, by the end of october I will see if I would have some spare time to work on this too 15:59
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Disable fact variables  https://review.opendev.org/c/openstack/openstack-ansible/+/77839616:05
opendevreviewMerged openstack/openstack-ansible-os_cinder master: Add nfs and ceph jobs to templates  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/85933717:08
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Use ansible_facts[] rather than ansible_ variables  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86048017:13
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Disable fact variables  https://review.opendev.org/c/openstack/openstack-ansible/+/77839617:13
*** dviroel is now known as dviroel|afk21:17

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!