Wednesday, 2022-09-28

opendevreviewMerged openstack/openstack-ansible-os_placement stable/yoga: Install git into placement containers  https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/85916200:07
opendevreviewMerged openstack/openstack-ansible-os_placement stable/xena: Install git into placement containers  https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/85916300:07
opendevreviewMerged openstack/openstack-ansible-os_keystone stable/yoga: Bootstrap when running against last backend  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/85923200:09
opendevreviewMerged openstack/openstack-ansible-os_placement stable/wallaby: Install git into placement containers  https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/85916401:35
*** ysandeep|out is now known as ysandeep01:45
*** ysandeep is now known as ysandeep|afk03:42
*** ysandeep|afk is now known as ysandeep05:14
opendevreviewMerged openstack/openstack-ansible master: Cleanup py27 support  https://review.opendev.org/c/openstack/openstack-ansible/+/85311008:24
*** ysandeep is now known as ysandeep|sick08:27
jrosser_damiandabrowski: where are these variables used? https://review.opendev.org/c/openstack/openstack-ansible-os_barbican/+/85775309:56
noonedeadpunkthey're not10:07
noonedeadpunkand already dropped on Y10:08
damiandabrowskiah, that's a fair point :D i just used codesearch to find where 'TLSv1.0' is defined10:19
noonedeadpunkNeilHanlon: fwiw I was able to reproduce issue from Rocky9 image10:29
noonedeadpunkspecifically this one: https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud-9.0-20220830.0.x86_64.qcow210:30
noonedeadpunkhttps://paste.openstack.org/show/bKW6DhMDF1Q9Oc7H8zrq/10:30
noonedeadpunkjrosser_: btw I'm not sure that this https://docs.ansible.com/ansible/latest/collections/ansible/posix/selinux_module.html module also has switched to using c bindings...10:34
noonedeadpunkas I guess we're mixing up on how ansible deals with selinux vs when we want to manage selinux with ansible10:35
noonedeadpunkhttps://github.com/ansible-collections/ansible.posix/blob/main/plugins/modules/selinux.py#L99-L10410:36
noonedeadpunkSo I guess it's jsut matter that centos ci image don't have selinux enabled that we don't occur this issue there10:37
noonedeadpunkNeilHanlon: also regarding that ceph bug I talked about yestarday - Rocky 9 image won't have that problem ,as discovered_interpreter_python is among facts there10:41
noonedeadpunkAnd it's Rocky 8 that's affected I believe10:41
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add Rocky Linux 9 to zuul and docs  https://review.opendev.org/c/openstack/openstack-ansible/+/85719111:09
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Replace usage of which with command  https://review.opendev.org/c/openstack/openstack-ansible/+/85955011:22
*** dviroel|afk is now known as dviroel11:22
noonedeadpunkI hope that will fix Rocky 9 jobs...11:24
noonedeadpunkaio runs nicely through now. as well as in CI11:55
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins stable/yoga: Introduce variables for rocky linux 9 support in gluster  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/85942411:57
noonedeadpunkhm, btw, I can bet I saw discovered_python_interpreter when bootstrapping host, but I couldn't see it afterwards12:02
noonedeadpunkOh......12:03
noonedeadpunkI know - it's result of OSA_ANSIBLE_PYTHON_INTERPRETER being defined12:03
noonedeadpunkAs it simply disables interpreter discovery12:07
NeilHanlonnoonedeadpunk: catching up now, but seems like we'll have some zuul results soon12:50
NeilHanlonty for looking into that. i've been swamped12:51
noonedeadpunknp, I just need to get time to see how to workaround this discovered_python_interpreter issue. But at least now I know what triggers it12:51
noonedeadpunkNeilHanlon: fwiw https://zuul.opendev.org/t/openstack/build/9d83849c67d74adc8bc84760b08ffda812:52
NeilHanlonnice i was just going looking for that :) 12:53
NeilHanlonhopefully this will be easy to backport if we want to12:53
noonedeadpunkyeah, seems like it is waaay easier then rocky 8 12:54
NeilHanlon:D 13:07
NeilHanlonare there any docs/guides on backporting? I think i may have asked this already13:08
noonedeadpunknot sure. But idea is - use cherry-pick from gerrit menu once master is merged13:16
noonedeadpunkWe usually don't backport new fetures, but exceptions can be made13:17
noonedeadpunkand it makes sense here as effort/value will prevail13:17
opendevreviewMarcus Klein proposed openstack/ansible-config_template master: document the removal of keys in ini files  https://review.opendev.org/c/openstack/ansible-config_template/+/85958413:19
noonedeadpunkthe only thing - we can't backport release notes. So when backporting it needs to be dropped from cherry-pick and re-added with follow-up patch13:20
noonedeadpunkit's due to how reno does identify to which release note should be added (as it check on SHA and where this SHA included)13:21
NeilHanlonah, makes sense13:24
kleinihttps://docs.openstack.org/openstack-ansible/wallaby/admin/upgrades/distribution-upgrades.html I am testing distro upgrade in staging for a non-primary infra host. keystone deployment wants to read from repo container os-release/23.4.1/ubuntu-20.04-x86_64/wheels. This does only exist on the non-primary repo container but haproxy sends requests to primary repo container. Should primary repo container be put into 13:34
kleinimaintenance when deploying non-primary infra hosts or should content of non-primary repo container be synced to primary?13:34
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add Rocky Linux 9 to zuul and docs  https://review.opendev.org/c/openstack/openstack-ansible/+/85719113:36
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Replace usage of which with command  https://review.opendev.org/c/openstack/openstack-ansible/+/85955013:40
kleinianswering my own question: rsync just receives files to be synced for repo and lsync sends them. lsync only runs on primary repo container and therefore ubuntu-20.04 is not synced from non-primary to primary. So the guide misses the point to put primary repo into maintenance mode in haproxy when running setup-openstack.yml on non-primary infra hosts13:54
noonedeadpunkkleini: well, I think we have mentioned that one day...13:56
jrosser_i think it's even more subtle than that13:56
noonedeadpunkand it's already not a case on yoga as there's no lsync anymore :D13:56
jrosser_you have to ensure that requests go to the right OS release infra host that is also the build host13:56
jrosser_so its not just !primary13:56
noonedeadpunkor disable wheels build for older OS hosts, and ensure you're having serial 1 as otherwise you will ddos infra mirrors13:57
kleiniis there some parameter to redirect the used repo container?13:59
noonedeadpunkI think you can put rest of backends in haproxy to maint state13:59
*** spotz__ is now known as spotz14:04
kleinior copy ubuntu-20.04 directory to primary repo14:06
noonedeadpunkor that, yes :)14:08
noonedeadpunkbut well, no14:08
noonedeadpunkas it won't be populated - build will still happen on container running 20.0414:09
noonedeadpunkand primary one will delete wheels from there as lsyncd runs with --delete iirc14:09
kleiniokay, will put all other repo into maintenance. seems to be easier14:14
*** dviroel is now known as dviroel|lunch15:29
opendevreviewMerged openstack/ansible-config_template master: document the removal of keys in ini files  https://review.opendev.org/c/openstack/ansible-config_template/+/85958415:45
jrosser_oh looks like skyline does have a stable/zed branch16:29
jrosser_thats good16:29
jrosser_are we still adding more distro jobs - they are there for centos-9 and rocky-9 even though i thought we agreed at last PTG to not replace them16:32
*** dviroel|lunch is now known as dviroel16:35
ThiagoCMCFolks, OSA is creating a '/etc/default/tftpd-hpa' file in ironic-api-container without an address... Wrong line: "TFTP_ADDRESS=address_undefined:69", I looked the default value and it's just "ansible_host", which clearly doesn't work16:39
noonedeadpunkI think ansible_host is always defined...16:41
noonedeadpunkQuite wierd if it's not16:41
noonedeadpunkjrosser_: well... not sure if it was intentional or not for centos916:41
noonedeadpunkmaybe I jsut copy-pasted16:41
noonedeadpunkThough I believe they should be passing once we set release to zed16:42
noonedeadpunk(and once packages will be released)16:42
jrosser_ThiagoCMC: where do you see it should be ansible_host?16:44
jrosser_is it this? https://github.com/openstack/openstack-ansible-os_ironic/search?q=ironic_tftp_server_address16:44
ThiagoCMCIt's the 'templates/tftpd-hpa.j2'16:56
ThiagoCMCIt's also undefined in ironic.conf 16:57
ThiagoCMCMaybe I forgot to set `ironic_tftp_server_address`...17:00
ThiagoCMCSorry, this: ironic_bmaas_address17:00
jrosser_?17:00
jrosser_https://github.com/openstack/openstack-ansible-os_ironic/blob/c78e5c19f99b880ca87a408e5998ed83394eb174/defaults/main.yml#L12717:01
ThiagoCMCI see it should be set automatically, but it isn't, so I'm wondering what I missed17:01
ThiagoCMCchecking again17:01
jrosser_you've got an eth15 in the container?17:01
jrosser_i.e br-bmaas is correctly wired to an interface in the lxc?17:02
ThiagoCMCOn the Ironic PAI, no, it doesn't have eth15.17:02
ThiagoCMC*API17:02
ThiagoCMCI'm trying without Ironic inspector containers now, but can't make it work with just apt and compute containers...17:03
jrosser_i'm not sure that is going to work17:03
ThiagoCMCOk17:04
ThiagoCMCI'll put it back...17:04
ThiagoCMCBut, why TFTP is in Ironic API container?17:04
jrosser_becasue the people who worked on os_ironic only did a metal deploy, i think17:05
jrosser_and the whole thing is a mess17:05
ThiagoCMCEwww... I see17:05
jrosser_on a metal deploy ironic and inspector containers all collapse onto the same host and then things "work"17:05
ThiagoCMCMakes sense... I managed to make one machine to request IP, Inspector's dnsmasq answered, but then, it failed to download the kernel/ramdisk, didn't booted.17:06
ThiagoCMCSo I guess that it's because TFTP is "too far", not reachable17:07
ThiagoCMCGetting there!  lol17:07
jrosser_becasue probably the http server for downloading those things is in the ironic api container (?)17:07
jrosser_and if you don't have br-bmaas wired there then it's not going to work17:07
jrwrDHCP and "next-server" is what says where the tftp server needs to be17:07
ThiagoCMCWell, there's that too...17:07
ThiagoCMC:-D17:07
jrosser_here is my networks in ironic-api https://paste.opendev.org/show/bvikYWM40n48ufnP7nFS/17:08
ThiagoCMCBut the documented "group_binds" for "br-bmaas" doesn't include ironic_api, only ironic_inspector17:08
jrosser_right, but it's a mess17:08
ThiagoCMCHmmmmm  lol17:08
jrosser_we are about to tear down ironic from our lab having made it work17:08
jrosser_and generate a new load of patches17:09
ThiagoCMCSounds awesome! I'd love to help testing!17:09
jrosser_here is the inspector container networks https://paste.opendev.org/show/bdtr7JlVglcmfoqFQvBL/17:09
ThiagoCMCCool, from what I'm seeing, only thing missing here now is the eth15 on Ironic API container.17:10
ThiagoCMCI'll try that!17:10
ThiagoCMCPerhaps we could polish OSA Ironic for next 'stable/zed' release!  ^_^17:10
ThiagoCMCWhat would be the "group_binds" to add br-bmaas to ironic-api ?17:11
ThiagoCMCIt's 'ironic_api', got it17:13
jrosser_here is user_variables_ironic.yml https://paste.opendev.org/show/bDho5Orn9rdBNqjH5ito/17:13
jrosser_but note that this is not an "example" as it includes a bunch of hacks needed for things that i've not properly patched yet in os_ironic17:13
ThiagoCMCThank you!17:13
ThiagoCMCFound this on master: https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/openstack_user_config.yml.aio.j2#L137 - Gonna review everything! Learning a lot, thanks agai!17:14
jrosser_then Ironic_Network is br-bmaas, and it's also available as a vlan neutron network on the network nodes17:15
jrosser_as in our setup there is a mixture of ironic container dnsmasq dhcp (for things that are discovered) and neutron dhcp (for nodes that are already enrolled)17:15
ThiagoCMCThat sounds complicated... But interesting idea!17:17
jrosser_this is the neutron network https://paste.opendev.org/show/bfhHiPOfqtNXrPD1j1ZV/17:17
jrosser_well it is complicated, but thats how ironic works17:17
jrosser_or how it can work - trouble is this is all configurable / pluggable and some architecture decisions have to be made somewhere17:18
jrosser_you can't dhcp a thing with neutron that neutron does not already know about17:18
ThiagoCMCYep, that's fair... I won't give up!  =P17:18
jrosser_so for discovering nodes with inspector you need something else as well17:18
jrosser_and conversely, for things you know about you want to assign IP known to neutron, which you can't do with dnsmasq17:19
jrosser_so it all makes sense17:19
ThiagoCMCCool, I'll rewrite my lab based in your examples, thanks for sharing17:20
jrosser_no problem - i would hope that we can make the majority of that user_variables_ironic go away by patching things some more17:20
opendevreviewMerged openstack/openstack-ansible-plugins stable/yoga: Introduce variables for rocky linux 9 support in gluster  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/85942417:20
jrosser_weve also got the IPMI serial consoles working but that's needing really lots of extra work17:21
ThiagoCMCSounds like a plan, I'll test it extensively.17:21
jrosser_without that you are really in trouble - having our test node connected to a VGA raritan KVM was vital17:21
jrosser_once you get it starting to boot but something goes wrong you need to be in front of the console of the thing17:22
ThiagoCMCOk, well, right now, the BMC is reachable via separated (stable) network17:22
ThiagoCMCBaby steps ^_^17:23
jrosser_cool - ok i need to head off17:23
jrosser_let me know if you make any progress17:23
ThiagoCMCSure, thanks again!17:23
*** dviroel is now known as dviroel|walk19:54
opendevreviewMerged openstack/ansible-role-python_venv_build stable/yoga: Change default value for venv_wheel_build_enable  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/85923120:10
*** dviroel|walk is now known as dviroel20:44
opendevreviewMerged openstack/openstack-ansible master: Add weight decrease to keepalived checks  https://review.opendev.org/c/openstack/openstack-ansible/+/85672121:06
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/yoga: Bump OpenStack-Ansible Yoga  https://review.opendev.org/c/openstack/openstack-ansible/+/85972821:14
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/xena: Bump OpenStack-Ansible Xena  https://review.opendev.org/c/openstack/openstack-ansible/+/85973021:27
*** dviroel is now known as dviroel|out21:37
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/wallaby: Bump OpenStack-Ansible Wallaby  https://review.opendev.org/c/openstack/openstack-ansible/+/85973121:37
prometheanfireI think the elastic_ilm uri calls need to have retries, at least on this 15 year old hardware23:01

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