Tuesday, 2022-02-01

*** dviroel|brb is now known as dviroel00:03
*** dviroel is now known as dviroel_00:19
*** dviroel_ is now known as dviroel00:19
*** dviroel is now known as dviroel|out01:47
rohit02hi team,as we all know centos 8 repos are EOL due to which centos8 victoria deployment failed04:07
rohit02in deployment doc only centos 8 is supported os and not stream.so do we still support victoria deployment on centos 8 ?04:09
rohit02noonedeadpunk: ^04:11
jrosserrohit02: here is what the OS support looks like https://docs.openstack.org/openstack-ansible/latest/admin/upgrades/compatibility-matrix.html06:26
jrossernow that centos-8 is EOL, that column no longer works06:26
jrosserso for centos8, you need to be already on centos8-stream and Wallaby release of openstack-ansible06:27
rohit02jrosser: so how we can move to wallaby with stream in production environment? Is there any latest doc?06:37
jrosserrohit02: you would follow the major upgrade guide, but re-install each node as you go with centos-8 stream06:39
jrosserthis is the most difficult upgrade you could attempt, doing the OS and openstack at the same time06:39
noonedeadpunkspatel for example jsut jumped from centos to ubuntu once realized centos 8 got eoled ;)07:05
jrosserright, and centos-8-stream having EOL python3.6 you know that once you do the centos8 -> centos8-stream it will not be long before you need to move to centos-907:14
jrosserargh more mess to fix Status code: 404 for http://mirror.centos.org/centos/8/virt/x86_64/kata-containers/repodata/repomd.xml07:17
noonedeadpunkseems like we need to sytart building kata anyway07:29
jrosseroh what a total mess https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82704607:29
noonedeadpunkas now both centos and debina missing their support07:29
jrosserthat "works" but of course the upgrade job breaks, as N-1 branch is also now broken07:29
noonedeadpunkpfffff07:29
jrosserand also circular dep on the previous patch07:30
noonedeadpunkand can we just backport to X it first?07:30
noonedeadpunkor it won't work ther because of cross dependency as well...07:30
jrosserinstall from snap - thats not cool07:31
noonedeadpunkI actually thought that centos would be last who drop repo for kata07:32
noonedeadpunkyeah either snap or source install07:32
jrosseri still have no idea why anyone thinks it is a good idea to install application/container runtimes as a snap07:32
noonedeadpunkWell, have you seen Juju charms ?:)07:32
jrosserperhaps thankfully - no :)07:32
noonedeadpunkWell, snap is not that bad in theory especially for software developers, when they don't need to care about cross-distro compatability... I think same applies to docker though07:34
noonedeadpunkBut in fact that's a pita...07:34
noonedeadpunkHm, I wonder if for centos it's just matter of kata v2 https://github.com/kata-containers/kata-containers/blob/main/docs/install/centos-installation-guide.md ?07:37
jrossernothing starting with k http://mirror.centos.org/centos-8/8/virt/x86_64/advanced-virtualization/Packages/07:39
jrosserright - so maybe we backport this to X like you say https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82704607:41
jrosserthere is no centos-8 upgrade job there so that would be as far back as it needs to go07:41
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_zun stable/xena: kata: fix link to now removed mirror location  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82723007:42
noonedeadpunkwait, we had centos-8 as nv everywhere?07:50
noonedeadpunkfor upgrade jobs?07:50
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible-os_zun/src/branch/stable/xena/zuul.d/project.yaml#L2807:51
noonedeadpunkSo might be we just needed to make them nv in https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/824457/3/zuul.d/project.yaml as well07:51
noonedeadpunkand not depend on this patch for https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82704607:52
noonedeadpunkyes, there won't be ci tests for it, but no circular dependency as well then :)07:52
jrosseri think they were nv07:52
jrosserand then for the briefest moment they were all working07:52
jrosser\o/ followed by /o\07:53
noonedeadpunk(usual centos stuff)07:53
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_zun master: kata: fix link to now removed mirror location  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82704607:58
*** kleini_ is now known as kleini08:13
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-galera_server master: Convert xinetd clustercheck to systemd socket service  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/82404208:27
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-galera_server master: Remove legacy cleanup tasks  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/82721608:30
agemuendHi all, we have an osa deployment on CentOS 8, can someone maybe point me to a link on how to handle the migration from centos 8 to stream?08:31
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-lxc_hosts master: Ansible systemd module can reload units without specifying a service  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/82721708:32
agemuendShould we just dist-upgrade the hosts and all good, or do we need to migrate the images as well?08:32
jrosseragemuend: this is the compatibility matrix https://docs.openstack.org/openstack-ansible/latest/admin/upgrades/compatibility-matrix.html08:32
jrosserwe do not have support for centos-8 stream until the Wallaby release of OSA08:33
agemuendOh I see, we're using victoria. So what would be the recommended approach? First upgrade to Wallaby and then upgrade the hosts?08:34
jrosserthere is a set of documentation here about how someone did ubuntu bionic->focal08:34
jrosserso the same basic process would hold08:34
jrosserunfortunatley you are in the most difficult position by not having moved to Wallaby before the centos-8 EOL08:34
jrosserbionic-> focal notes are here https://docs.openstack.org/openstack-ansible/latest/admin/upgrades/distribution-upgrades.html08:35
jrosserreally the only route is to do a combined operating system and openstack major release upgrade at the same time08:36
jrosserand i also feel kind of obligated to point out that centos-8-stream ships a python interpreter which is already EOL08:37
jrosseragemuend: you are going to need to reconfigure your repos as a minumum step https://www.centos.org/centos-linux-eol/08:41
jrosserand you could try to upgrade from V -> W on centos-8, but there is absolutely no testing of that at all from the openstack-ansible side due to the EOL08:42
agemuenddamn08:43
jrosserthe loss of the repos and the EOL means that CI is no longer viable for the whole openstack project on centos-808:43
agemuendSo maybe update the hosts to stream first, then attempt a full deploy?08:43
jrosserwell i don't know08:43
jrosseryou can't deploy victoria on centos-8-stream as we never supported that combination in openstack-ansible08:44
jrosserbut you could maybe use an AIO build to test out modifying all the repo locations to point to the centos vault repos08:45
jrosserand then do an openstack-ansible upgrade of that to W on the old OS08:45
jrosserbut really i can't say what might go wrong there, lots of the content has just disappeared08:45
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: Remove legacy nginx cleanup tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/82722008:53
agemuendAre the repo locations somewhere central or scattered?08:56
agemuendMaybe we can use a repo mirror, we do have CentOS repos mirrored anyway08:56
jrosseragemuend: there is info on here https://www.centos.org/centos-linux-eol/ about how content has been moved to vault.centos.org09:01
agemuendYeah I did that already09:02
agemuendAt least on the hosts09:02
agemuendAll repos are available on vault09:03
jrosseri guess there are a bunch to check, EPEL and RDO may be in play as well09:03
agemuendrdo is available on vault as well09:06
agemuendEPEL is still there09:07
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rabbitmq_server master: Remove old repos for Debian  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/82722109:08
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: Remove legacy db pooling variables  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/82722809:13
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Remove legacy db pooling variables  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/82725009:18
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Remove legacy vpnaas agent service  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/82725109:18
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_octavia master: Remove legacy db pooling variables  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/82725209:20
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Remove legacy db pooling variables  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/82725009:21
opendevreviewJonathan Rosser proposed openstack/ansible-role-python_venv_build master: Remove legacy comment  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/82725309:26
jrosseragemuend: if you manage to make some notes for centos8 -> centos8-stream we can add them to the documentation09:49
agemuendWell, lets see how it goes, I'm a bit pessimistic right now10:05
opendevreviewMerged openstack/openstack-ansible-os_zun master: kata: fix link to now removed mirror location  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82704610:14
opendevreviewMerged openstack/openstack-ansible stable/wallaby: Remove left-over centos-8 job from project template  https://review.opendev.org/c/openstack/openstack-ansible/+/82693711:15
jrosseragemuend: i don't really know what we could have done differently, 8-stream support was a quite big set of changes in openstack-ansible so major surgery for a new OS support is not something we really can backport11:18
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-openstack_hosts stable/ussuri: Remove legacy centos-8 jobs  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/82726611:26
*** dviroel|out is now known as dviroel11:27
agemuendjrosser: Yeah I completely understand11:28
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-tests stable/xena: Remove legacy centos-8 CI jobs  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82726911:42
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-tests stable/wallaby: Remove legacy centos-8 CI jobs  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82723911:43
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-tests stable/victoria: Remove legacy centos-8 CI jobs  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82727011:45
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-tests stable/ussuri: Remove legacy centos-8 CI jobs  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82727111:46
agemuendjrosser: I have now updated the hosts and tried to rebuild the containers after lxc-destroy, but they're being rebuilt with CentOS 8 and the old repos, can you point me where I'm going wrong?12:10
jrosserthere is a base image built on each host, which is probably caching all of that from before12:11
jrosseryou can use this to make it re-create the base image https://github.com/openstack/openstack-ansible-lxc_hosts/blob/stable/victoria/defaults/main.yml#L216-L21712:12
jrosserrun your playbook with `-e lxc_image_cache_refresh=true`12:13
agemuendOkay will try, thank you12:13
agemuendI'm just wondering, we should probably run that regularly in operations as well, right? Otherwise we'll have possibly insecure service containers?12:16
jrosserthe quickest way to do that will be to use `playbooks/containers-lxc-host.yml` playbook directly12:16
jrosserthat will just run the lxc_hosts role and refresh the base image12:16
jrosserthen delete / re-create whatever you need to use the new base image12:16
jrosserthe base image build grabs always the same starting point on victoria branch https://github.com/openstack/openstack-ansible-lxc_hosts/blob/stable/victoria/vars/redhat.yml#L1612:18
jrosserbut i think it should be brought up to date each time the base image is refreshed https://github.com/openstack/openstack-ansible-lxc_hosts/blob/stable/victoria/templates/prep-scripts/centos_8_prep.sh.j2#L1612:19
jrosserit's up to you how to manage updates in the containers on a running deployment - you can treat them like hosts and update them with yum/dnf12:19
agemuendMhm that fails actually12:23
agemuend> 12:23
agemuendFAILED - RETRYING: Ensure that the LXC cache has been prepared (120 retries left).12:23
agemuendfatal: [ultronmgmt03]: FAILED! => {"ansible_job_id": "894964107053.443202", "attempts": 2, "changed": true, "cmd": "chroot /var/lib/machines/centos-8-amd64 /opt/cache-prep-commands.sh > /var/log/lxc-cache-prep-commands.log 2>&1", "delta": "0:00:01.837147", "end": "2022-02-01 13:21:33.599723", "finished": 1, "msg": "non-zero return code", "rc": 1, "start": "2022-02-01 13:21:31.762576", "stderr": "", "stderr_lines": [], "stdout": "",12:23
agemuend "stdout_lines": []}12:23
agemuendOh sorry, that was probably our fault again12:24
agemuendNo it wasnt, it still fails. 12:25
jrosser`/var/log/lxc-cache-prep-commands.log` is your next stop12:27
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-tests stable/wallaby: Fix rich version for ansible-lint  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82724112:37
jrossernoonedeadpunk: i am wondering if [keystone_authtoken]:service_type has any bearing on your application credential thing with octavia12:57
jrosserdid you limit the scope of the token?12:57
jrosseri am sure we had someone submit a patch about that but i can't find it right now12:57
noonedeadpunkUm, I'm not sure it's related... I mean - jsut check this out https://opendev.org/openstack/keystone/src/branch/master/keystone/api/_shared/authentication.py#L210-L21212:59
agemuendMhm, no mattter what I do, it always rebuilds the containers with the old centos13:00
noonedeadpunkAnd keystone fails with `KeyError: 'application_credential'` 13:02
noonedeadpunkjrosser: regarding patch you meant this? https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/82300913:03
jrosseragemuend: how do you mean with the old centos?13:03
noonedeadpunkI can recall there was one more coming somewhere actually...13:03
noonedeadpunkor it was jsut bug report13:03
agemuendjrosser: I mean it still builds base images with CentOS 8.4 although my hosts are upgraded for Stream13:04
jrosseragemuend: oh well, you're still deploying victoria?13:04
agemuendWell, I checked out the wallaby files13:05
agemuendSorry if I'm being dense13:05
jrosserand did bootstrap-ansible.sh?13:05
noonedeadpunkthere could be facts that are cached as well13:05
jrosser^ good point13:06
*** sshnaidm is now known as sshnaidm|afk13:06
* noonedeadpunk really need to sit and calmly read about tokens scope and coming changes13:06
jrosseragemuend: clear out /etc/openstack_deploy/ansible_facts13:07
jrossernoonedeadpunk: yes, i was kind of concerned about the ML messages about the token scope changes13:07
jrosserthere does not seem to be a clearly described "from a deployment tool point of view, you need to 1).... 2).... 3)....."13:07
jrosserand that seemed to be kind of being designed / discussed on the ML which was worrying13:08
noonedeadpunkexactly... But main point I get that services should be assigned service role..13:09
noonedeadpunkWhat is worrying indeed is that it all sounds like a change to openstack collections would be required to enable some api calls I guess13:10
jrosserit also sounds like there is $gigantic changes landed in openstacksdk too13:10
jrosserperfect storm :)13:10
noonedeadpunkso to sum up - doesn't sound like early release for us again13:11
jrosserhaha13:11
jrossertrue13:11
agemuendThat didn't help unfortunately13:13
agemuenddestroyed the containers and then ran containers-lxc-host.yml, still trying to use victoria13:14
noonedeadpunkagemuend: I think in V you should override `lxc_hosts_container_image_url`13:14
noonedeadpunkas what we have by default is https://opendev.org/openstack/openstack-ansible-lxc_hosts/src/branch/stable/victoria/vars/redhat.yml#L1613:15
agemuendIf osa is still on victoria I'm doing something wrong, I want osa to be wallaby13:15
agemuendI'm rerunning bootstrap to make sure13:15
noonedeadpunkLikely what you'll need is a backport of https://opendev.org/openstack/openstack-ansible-lxc_hosts/commit/791b9e813ed29c1187803c53ad46e369b24eaad413:16
noonedeadpunkas centos doesn't have any valid lxc image for stream13:16
noonedeadpunkor well, you can prepare it yourself with "dnf --installroot" command, pack it to tar.gz and put to repo container13:17
agemuendSo even in Wallaby it doesn't work?13:17
jrosserhold on13:17
agemuendIf there is no stream base image?13:17
noonedeadpunkit does, why not?13:17
noonedeadpunkon W we changed way and don't need base image anymore13:17
agemuendOk. I'm trying to use osa wallaby.13:18
noonedeadpunkas we build it with command locally13:18
* noonedeadpunk holding now13:18
jrosseron wallaby it should be doing this https://github.com/openstack/openstack-ansible-lxc_hosts/blob/stable/wallaby/vars/redhat.yml#L1613:19
jrosserbut having said that, W is the one release that we have support for both centos-8 and centos-8-stream13:20
agemuendCan I just delete /var/lib/machines/centos-8-amd64 ?13:20
noonedeadpunklooking at command, centos-8 could be only host - containers are stream anyway :D13:20
agemuendIn case the lxc_image_cache_refresh doesn't really work?13:21
jrosseri think you can do that13:21
jrosserit would be really interesting if you are able to paste the output of the 'playbooks/containers-lxc-host.yml' to paste.opendev.org13:21
agemuendOkay even if I delete /var/lib/machines/centos-8-amd64 it will rebuild with the CentOS release13:27
agemuendI'm missing something, but I don't know what13:27
jrossercan you paste the output for us to see?13:30
agemuendSure one sec13:34
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-tests stable/wallaby: Remove legacy centos-8 jobs  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82723913:35
agemuendThis is just the last run which looks okay, I guess you need something else: https://paste.opendev.org/show/812462/13:37
jrosseri think without lxc_image_cache_refresh=true it's not going to run the interesting part13:39
agemuendHere is a new one: https://paste.opendev.org/show/812464/13:46
agemuendAnd in the prep commands log you see that it tried victoria again: Error: Failed to download metadata for repo 'openstack-victoria': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried13:46
agemuendOh damnit, I'm so stupid. It runs the dnf installroot on the mgmt host right?13:48
agemuendSo that broken repo must still be on the ansible machine *facepalm*13:49
jrosserthe prep commands are run against the chroot created on the target13:51
jrosserthe repo definitions are copied from the container host into the container13:52
jrosserbecause of this https://github.com/openstack/openstack-ansible-lxc_hosts/blob/stable/wallaby/vars/redhat.yml#L3013:54
*** sshnaidm|afk is now known as sshnaidm13:54
jrosserthe only place a repo called openstack-victora can have come from inside the container at this very early stage in it's creation if by being copied from the host13:54
jrossernoonedeadpunk: andrewbonney could you take a look at these? https://review.opendev.org/q/topic:osa%252Fremove-centos813:56
jrosserneed to merge them bit by bit to get the jobs removed in the right order13:57
agemuendShort other question. Here its described that you should install the rdo-release package, is that required? They seem to be in a weird state due to stream. https://docs.openstack.org/project-deploy-guide/openstack-ansible/wallaby/deploymenthost.html#configure-centos14:12
spateli believe centos-8 does support victoria but not plan is to drop centos-8 (why do you want to use centos-8 which is dead by Redhat also)14:20
agemuendI dont14:20
spateli repled to rohit02 :)14:21
agemuendAh sorry14:21
spateli would highly recommend stay away from centos (any kind of deployment) 14:23
spatelmay be in future centos stream get stable and come back but otherwise it would be pain and nothing else14:24
jrosseragemuend: there could easily be an error in the documentation there14:24
spatelwe are migrating all our cloud deployment from centos to ubuntu 14:24
jrosserand those instructions could totally be for non-stream, as W was the first release to support both14:25
jrosseragemuend: you can look in the collected logs for our CI jobs to see where the installed packages came from https://zuul.opendev.org/t/openstack/build/7f950a4ea1fa43e5b2686c30d7841ea0/log/logs/redhat-rpm-list-installed-host-13-50-26.txt14:30
jrosserthats a recent patch to stable/wallaby running on a centos-8-stream node14:31
jrosserwe can see there that the thing that matters is rdo-deps14:32
jrosserthese should be automatically setup for you as part of openstack_hosts ansible role https://github.com/openstack/openstack-ansible-openstack_hosts/blob/stable/wallaby/vars/redhat-8.yml#L95-L10714:36
opendevreviewMerged openstack/openstack-ansible-tests stable/ussuri: Remove legacy centos-8 CI jobs  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82727114:40
opendevreviewMerged openstack/openstack-ansible-tests stable/victoria: Remove legacy centos-8 CI jobs  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82727014:52
opendevreviewMerged openstack/openstack-ansible-tests stable/xena: Remove legacy centos-8 CI jobs  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82726914:52
noonedeadpunk#startmeeting openstack_ansible_meeting15:01
opendevmeetMeeting started Tue Feb  1 15:01:16 2022 UTC and is due to finish in 60 minutes.  The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot.15:01
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:01
opendevmeetThe meeting name has been set to 'openstack_ansible_meeting'15:01
noonedeadpunk#topic office hours15:03
mgariepyhey o/15:04
damiandabrowski[m]hey!15:04
noonedeadpunkI saw mariadb has merged and seems even backported fixes to mysql_upgrade15:05
noonedeadpunkmgariepy: have you had a chance to look closer where their ended up?:)15:05
mgariepynop i haven't 15:05
mgariepybut the idea was only not to run 2 mysql_upgrade at the same time to prevent lock.15:08
NeilHanlonheyo folks :) 15:09
noonedeadpunkyeah. But likely we can change some code and simplify things based on that15:09
jrosserhello15:09
mgariepydebian packaging needs to be upgraded also.15:10
mgariepyi can try to take a look a bit later this week or next week.15:11
noonedeadpunkI don't think there's any rush. I will try to check it as well if get some time before that :)15:12
noonedeadpunkNeilHanlon: how things going on with rocky dib btw?15:12
NeilHanlonfighting more CI issues than anything else, I think, but I believe the patch itself is ready to go once the underlying CI is all fixed.. but the image itself is working afaik15:13
noonedeadpunkok, awesome. Btw, jrosser found that latest pip jsut dropped py36 support overall.15:14
NeilHanlonoh goody :( 15:14
noonedeadpunkWhich leads us to thought for how long we will be able to have 8-stream or rocky-8 15:14
NeilHanlondoes anyone know where the powerkvm jobs live? There's a centos 8 job in there that needs removing.15:14
noonedeadpunkMaybe it's third-party test?15:15
jrosserNeilHanlon: this is useful https://zuul.openstack.org/jobs15:15
noonedeadpunkas I can't find any in opendev zuul15:16
noonedeadpunkbut third-party tests are non-voting usually15:17
noonedeadpunkso they shouldn't result in overall failure15:17
NeilHanlonthanks jrosser. yeah i think it is a 3rd party test https://review.opendev.org/c/openstack/diskimage-builder/+/82595715:17
NeilHanloni'll sync up with the dib folks and see how to proceed15:18
noonedeadpunkAh, so it's all green :)15:18
noonedeadpunknice15:18
NeilHanlonand green is good :) 15:18
noonedeadpunkit really is :)15:19
jrosseri imagine the rocky job should be voting in order to merge that15:19
jrossernoonedeadpunk does make a good point about py36 though15:20
jrosserin an ideal world we would get centos-9-stream support in for our Y release15:20
jrosserand then be dropping centos-8-stream in Z15:20
jrosserfor 9 we are a little stuck on mariadb so i made a ticket in their JIRA https://jira.mariadb.org/browse/MDEV-2769315:22
NeilHanlonjrosser: there was a comment saying it should be nonvoting for a bit, so I made it as such, happy to go back and talk with them, though15:23
noonedeadpunkdoh and mariadb just released I believe...15:24
jrosseroh cool no worries - follow what the dib people suggest there15:24
jrossersomehow everything is kind of different in the centos-9 mariadb package, more than it just being a 10.5.x15:24
jrosserso i was not particularly motivated to spend a lot of time hacking in a version we don't want15:25
jrosserthere are a few thing we need to fix15:27
jrossersome brokenness here https://review.opendev.org/q/topic:osa%252Finclude_vars15:27
noonedeadpunklxc_hosts should be fine overall I believe15:28
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_zun master: Restore CI jobs  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82445715:29
noonedeadpunkFor zun it seems we hacked way around?15:29
noonedeadpunkfor now at least15:29
noonedeadpunkHaven't looked into cloudkitty and mistral though15:29
jrosseralso a few here https://review.opendev.org/q/topic:osa%252Fcommon_tasks15:29
jrosseri did look at aodh a bit and it fails consistently on centos-8-stream (no comment) and i wondered if it was memory exhaustion15:30
jrosserfails to boot cirros iirc15:30
jrossernext would be the ssh_keypairs role https://review.opendev.org/q/topic:osa%252Fkeypairs15:32
jrosserthis is pretty much working except for some issue in CI that needs fixing15:32
noonedeadpunkoh yes, thats interesting15:32
jrosserwe have that running in the lab here for os_nova15:32
jrosserit makes a really nice cleanup of the existing complexity in os_nova and os_keystone15:33
noonedeadpunkand, that is indeed awesome!15:36
noonedeadpunkI spent some time on rabbitmq, and converted their erlang config format to smth more conventional https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/82633815:37
noonedeadpunkAs my eyes were bleeding each time I was to read it15:37
jrosseroh yes i remember adding the TLS support15:38
noonedeadpunkThere're one issue though is that config_template can't handle ini config files without sections15:38
jrosserhorrible syntax15:38
noonedeadpunkwell, it's not _much_ better when it comes to listeners, but at least readable...15:39
noonedeadpunksomehow readable15:39
jrosserdoes it have sections at all in the config file?15:40
noonedeadpunknope15:40
*** dviroel is now known as dviroel|lunch15:40
noonedeadpunkso when config_template is used, it just places blank file15:40
noonedeadpunkas default_overrides are {} so it's overriden with nothing15:41
jrosserthis format is actually more like a dict that has been flattened out into K/V pairs15:41
noonedeadpunkyep, exactly. And they still split keys with dots for structure15:42
noonedeadpunkbtw I'm a bit frustrated that there's still no erlang for debian 1115:42
noonedeadpunkwhile rabbit is already built for it for a while15:42
noonedeadpunkoh, and also I was happy when realized that journald is now supported logging15:44
jrosseri wonder if config_template could grow another format 'flatjson'15:45
jrosserread in that flattened format, process it just like it were a regular json file, and write it out flattened15:45
jrossermaybe json is the wrong term, but 'flatdict' of some sort15:46
noonedeadpunkRabbitmq claim it to be sysctl15:46
noonedeadpunkand eventually sysctl has really similar fromat15:47
jrosserhmm interesting15:47
noonedeadpunkso yes, I'd say it makes sense to patch config_template15:48
noonedeadpunkI wish sshd_config was also in this format :D15:49
jrosseroh well remember we now have sshd_config.d in all places except centos-815:51
jrosserand the ssh_keypairs role now sets it up on centos-8 to work like that too15:51
jrossermaybe sysctl format is just a special case of a generic key=value plain text file15:52
jrosserwe would need to choose if we support passing in an actual dict or if its just a bunch of a.b.c=value strings15:53
noonedeadpunkI'd say it should be dict anyway?15:55
noonedeadpunkwell, we can do split('=') but that would be weird15:55
noonedeadpunkbut dict in terms of simple key/value imo15:56
jrossercan we do a.b.c: value ?15:56
noonedeadpunkso might be just enough to teach config_template how to work without sections if that's feasable15:56
noonedeadpunkyes, I was thinking about that exactly15:57
noonedeadpunkI haven't look in module code yet though15:57
jrossershould we talk about the os_tempest patches? there are lots15:57
jrosser(also we're short of time)15:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Bump ansible to 2.12.2  https://review.opendev.org/c/openstack/openstack-ansible/+/82731316:00
jrosserthis is ready https://review.opendev.org/c/openstack/openstack-ansible-tests/+/82723916:05
jrosser#endmeeting16:14
opendevmeetMeeting ended Tue Feb  1 16:14:18 2022 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:14
opendevmeetMinutes:        https://meetings.opendev.org/meetings/openstack_ansible_meeting/2022/openstack_ansible_meeting.2022-02-01-15.01.html16:14
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/openstack_ansible_meeting/2022/openstack_ansible_meeting.2022-02-01-15.01.txt16:14
opendevmeetLog:            https://meetings.opendev.org/meetings/openstack_ansible_meeting/2022/openstack_ansible_meeting.2022-02-01-15.01.log.html16:14
agemuendThe installation of mod-auth-openidc doesn't seem to work on CentOS Stream16:16
agemuendBecause it needs dnf module enable16:17
agemuendalso the package name seems to be wrong16:17
agemuendImho https://github.com/openstack/openstack-ansible-os_keystone/blob/master/vars/redhat.yml#L51 should be mod_auth_openidc16:21
agemuendAnd somewhere before it should do dnf module enable mod_auth_openidc16:23
noonedeadpunkjrosser: thanks for ending, as I got distracted :(16:23
jrosseragemuend: can you test that out for us? i can make a patch no problem16:24
agemuendTo be honest I just hacked an additional step in for us where i run the dnf module enable, I don't know how you want to integrate it conditionally because its an extra step for redhat 16:27
agemuendBut sure I can test it16:27
agemuendIf you have a nicer solution16:27
*** dviroel|lunch is now known as dviroel16:35
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-nspawn_hosts stable/victoria: Remove legacy centos-8 jobs  https://review.opendev.org/c/openstack/openstack-ansible-nspawn_hosts/+/82731916:50
noonedeadpunkit's always one thing left....16:51
jrossereach time we fix one it reveals another16:52
jrosserso this is taking forever16:53
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: Fix apache oidc package name for redhat based distros  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/82732116:55
jrosseragemuend: ^ like this?16:55
jrosseragemuend: related to this my team did loads of work on OSA OIDC support in recent releases16:56
jrosserthere are probably a bunch of new things you can do more easily or configure better now16:56
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: [DOC] A centos deployment host does not need the RDO repo installing  https://review.opendev.org/c/openstack/openstack-ansible/+/82732617:01
jrosseragemuend: ^ also this - i see no reason that the deployment host needs the RDO repo installing17:02
agemuendYeah looks good. The installation still won't work without executing "dnf module enable mod_auth_openidc" once though17:06
agemuendAnd indeed, you don't need the RDO repos there, we just ran it without and are nearly through17:07
agemuendwell, its working on horizon currently, so it passed a couple of services already17:07
agemuendNow this error appears as well in our env: https://bugs.launchpad.net/openstack-ansible/+bug/195602617:14
jrosserwould the equivalent module enabling be like this? https://github.com/openstack/openstack-ansible-os_keystone/blob/bc053f483f72793c5451a452d10df5b1741c9946/tasks/keystone_apache.yml#L74-L8517:18
opendevreviewMerged openstack/openstack-ansible-os_zun stable/xena: kata: fix link to now removed mirror location  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82723017:18
jrosseragemuend: can you paste the error you get to paste.opendev.org?17:19
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_zun master: Use common service setup tasks from a collection rather than in-role  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82437217:20
agemuendjrosser: Ah no, thats the apache httpd module, I'm talking about a DNF module that you need to enable to be able to install the package in the first place. Independent from activating the module in httpd.17:20
jrosserah right so there are two more things to deal with then17:20
* jrosser doesnt use dnf much17:21
agemuendjrosser: in fact the package brings /etc/httpd/conf.modules.d/10-auth_openidc.conf which contains the LoadModule already, so you don't need an extra step for activation in httpd17:22
agemuendin case of mod_auth_openidc at least, I just checked that. For other modules it could be different.17:23
jrosserseems ansible is kind of clumsy for enabling dnf modules https://github.com/ansible/ansible/issues/6485217:24
agemuendYes, thats true. We either set state=enabled in the module file (in that case /etc/dnf/modules.d/mod_auth_openidc.module) or call the dnf module enable as a command17:26
jrossercan you give me a copy of what it puts in /etc/dnf/modules.d ?17:27
agemuendhttps://paste.opendev.org/show/812471/17:29
agemuendjrosser: And this is the error we now receive: https://paste.opendev.org/show/bBOeTw5go2b90Sc5EnkP/17:34
agemuendI included the repo containers because I thought its related17:34
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: Fix oidc apache module installation for centos  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/82732117:35
jrosser^ ok so i updated that to handle enabling / disabling the module and fixing the name17:36
jrosserif you are able to test that it would be great17:36
jrossernoonedeadpunk: do we need to backport this? https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/82319917:39
noonedeadpunkum I think for others we merged already fixed version...17:41
jrosseryeah it looks that way17:41
jrosseragemuend: have you redeployed the repo server containers onto centos-8-stream yet?17:41
noonedeadpunkIt wasn't too late when bug was reported17:41
agemuendShouldnt it have done that automatically in the above tasks?17:43
agemuendBut yes, the repo containers that are running are Stream based17:43
agemuendI'm also wondering why it didn't complain before. The other roles like keystone, glance, cinder, nova, neutron all ran through without this error.17:44
agemuendAnd I thought they also include the venv playbook?17:44
jrosseryes it all uses the same stuff17:46
jrosserit uses the same venv build role, called from different playbooks17:47
jrosseri guess that the useful info is in venv_build_targets17:47
opendevreviewMerged openstack/openstack-ansible-os_keystone master: Remove bugfix tasks for the Train release  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/82714017:48
jrosserand that takes into account `[ansible_facts['distribution_version']][ansible_facts['architecture']]`, and i only see architecture in the paste unfortunatley17:48
jrosserthe architecture and distro have to match for the repo server to be considered valid for building wheels17:49
jrosserso one possiblity is a centos-8 / centos-8-stream mismatch between the placement containers and the repo containers17:49
jrosseroh wait, it's the '8' isnt it17:50
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server master: Use cloudsmith repo for rabbit and erlang  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/82644417:50
agemuendOh17:55
agemuendDamn, why is the venv_build_targets wrong17:55
*** dviroel is now known as dviroel|biab17:55
jrosserremeber that ansible distribution_version is also a bit of a car crash for centos-8-stream17:58
jrosserit will be just '8'17:58
jrosserbut for old EOL centos you get 8.3 / 8.4 / 8.517:59
agemuendOh man, its such a mess, why did CentOS have to do this to us18:01
jrosserall the conditional code we had for (if version > foo) just didnt work right any more18:02
jrosseras the newer version is now *less* than the older one18:02
NeilHanlonugh18:03
opendevreviewMerged openstack/openstack-ansible-os_keystone stable/xena: Fix ordering error enabling/disabling Apache modules  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/82655018:05
*** dviroel|biab is now known as dviroel18:08
jrosseragemuend: end of my day here now but if you are still stuck i would add some debug tasks to see what is happening with the setting of these https://github.com/openstack/ansible-role-python_venv_build/blob/master/defaults/main.yml#L110-L12218:14
agemuendjrosser: We used the skip variable now and it ran through, I hope that was okay. Thanks a lot for your help18:14
jrosserits ok for just one or two targets18:14
jrosserif it does the same for nova on your compute hosts then please don't18:15
jrosseras thats what has DDOS the opendev git servers before18:15
jrossernova is a massive repo + lots of hosts == bad18:15
agemuendOkay, I see18:17
agemuendWe'll try to debug that tomorrow18:17
opendevreviewMerged openstack/openstack-ansible-lxc_hosts master: Refactor use of include_vars  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/82434519:12
noonedeadpunkoh, so mariadb hasn;t released mysql_upgrade fix anyway as for now. Scheduled to 10.6.6. I hope that centos 9 will be built for 10.6.6 as well tbh19:18
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_zun master: Use common service setup tasks from a collection rather than in-role  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/82437219:19
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rabbitmq_server master: Use systemd_service role for overrides  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/82646319:40
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rabbitmq_server master: Use systemd_service role for overrides  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/82646319:43
jrossermore centos-8 removals ready https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/82726619:43
noonedeadpunkdoh, come on... https://review.opendev.org/c/openstack/openstack-ansible-nspawn_hosts/+/82731919:44
noonedeadpunklet's drop all tests there?:)19:44
noonedeadpunkexcept docs and linters?19:44
jrosseryes please :)19:45
NeilHanlonand make sure you don't remove anything I need ! (jk)19:47
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-nspawn_hosts stable/victoria: Remove legacy centos-8 jobs  https://review.opendev.org/c/openstack/openstack-ansible-nspawn_hosts/+/82731919:48
*** dviroel is now known as dviroel|afk20:35
noonedeadpunkI bet we already did tbh :(21:01
noonedeadpunkwe'll try to help to sort these out anyway)21:02
NeilHanlonall good :) you're just making my life harder but that's not your fault ;) 21:11
noonedeadpunkLet's all blame rh :p21:12
NeilHanlonsounds like a plan ;) 21:13
*** dviroel|afk is now known as dviroel23:44

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