Friday, 2024-04-05

opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Implement installation method selection for MariaDB role  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/91453009:20
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Add distro infra jobs  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/91469109:20
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Implement installation method selection for MariaDB role  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/91453009:21
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Add distro infra jobs  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/91469109:21
KSR-DKHi? Anyone online tha can answer question about major upgrade with openstack-ansible?10:47
noonedeadpunkhey10:50
noonedeadpunksure, fire it10:50
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [Feature] Add skyline deployment capability  https://review.opendev.org/c/openstack/openstack-ansible/+/85944610:56
KSR-DKThanks11:01
noonedeadpunkI mean - feel free to ask :)11:03
KSR-DKI'm running the upgrade script, and reached the setup-openstack.yml part. I've reached the - import_playbook: os-gnocchi-install.yml part, and it failed. When restarting the upgrade.. Can I comment out the playbooks in setup-openstack.yml above the gnocchi part, and go again (so I don't have to wait hours again), or will subsequent playbooks be dependent on variables gathered in the previous playbooks?11:04
noonedeadpunkKSR-DK: yeah, you don't have to re-run everything from beginning11:09
noonedeadpunkeventually upgrade script should have output what's remaining11:09
noonedeadpunkso you can even manually execute left playbooks, as gnocchi is somewhere closer to the end IIRC11:09
noonedeadpunkat least after most core services11:09
noonedeadpunkalso, I did couple of patches towards gnocchi recently11:10
noonedeadpunkso if you provide more details I could be able to help you out narrowing down the issue11:10
KSR-DKThanks for the help! The issue with Gnocchi, was a missing ceph keyring - my own fault.11:20
noonedeadpunkah, ok, as Gnocchi frequently fails to be built due to not following/using upper-constraints from OpenStack11:21
KSR-DKNow that I'm here.. This fix for https://bugs.launchpad.net/nova/+bug/2004555 was backported to nova xena-eom, However this is not working with https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/unmaintained/xena/templates/nova.conf.j2 11:21
KSR-DKIt's simply missing the [service_user ] part of the config11:22
noonedeadpunkOk, yeah, that can be the case indeed11:23
noonedeadpunkBut, I can't recall IF this was backported in cinder 11:23
KSR-DKand the variable nova_service_token_roles_required. I've grabbed the part from https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/unmaintained/yoga/templates/nova.conf.j2 and tested on mys setup - seems to work11:24
noonedeadpunkAs this requires patch to be present in Cinder as well, and there were some troubles with that. But I can't recall if it was Xena or smth else...11:24
KSR-DKhttps://docs.openstack.org/nova/xena/admin/configuration/service-user-token.html - The bug is referenced here11:25
noonedeadpunkSo it could be that this bug was never properly addressed on Xena at all... But let me double-check11:25
noonedeadpunkKSR-DK: yes, but as I said - it requires Cinder to support it as well11:25
noonedeadpunkIt's not only Nova thing - it was quite combined11:25
noonedeadpunkKSR-DK: also , I think you should be able to place an override to cover that fwiw11:26
KSR-DKOk.. I can tell you that upgrade of nova from wallaby to xena fails, unless the service_user is added to nova.conf11:27
noonedeadpunknah, I guess it was backported by cinder to Xena, not to Wallaby I guess11:27
noonedeadpunkhttps://review.opendev.org/c/openstack/cinder/+/88283911:28
noonedeadpunkSo yeah, it was never fixed on Wallaby11:28
noonedeadpunkWhat I was trying to explain, is that this bug was backported by Nova down to Victoria11:29
noonedeadpunkSo latest Wallaby was also "borked" in a way, because nova is requesting service_user, but other services, like cinder, still won't provide it11:29
noonedeadpunkAnd that was patched around EM cycle11:30
noonedeadpunkKSR-DK: so you should be able to add that to your user_variables: https://paste.openstack.org/show/bRsXAMXaM17TaYYeunna/11:31
noonedeadpunkand pretty much same for cinder and for glance....11:31
KSR-DKtogether with the nova_service_token_roles_required variable. Thanks man!11:31
noonedeadpunkbut I think our eventual idea was to move Xena to EM before this bug was dicovered11:32
noonedeadpunkSo pre-EM releases should be fine, I guess, while not covering the bug11:33
noonedeadpunkyou might need to add `nova_service_token_roles_required` explicitly though :D11:35
noonedeadpunkbut frankly, I guess I'd jumped just to smth supported asap...11:35
KSR-DKI'm planning to do 2 more major upgrades in the next weeks eventually hitting Zed so, I will be moving on ;-)  11:36
noonedeadpunkX->Y upgrade should be quite trivial, and then you can have Y-> 2023.1 directly11:36
noonedeadpunkas we tested this path in CI as first "unofficial" SLURP release11:36
KSR-DKIs Y a SLURP ?11:36
noonedeadpunkunofficialy11:36
noonedeadpunkbasically when TC made a resolution and we practised on how to do that before doing 2023.1/2024.111:37
noonedeadpunkBut CI were happy and we upgraded without any issues internally as well11:37
noonedeadpunk(actually, internally we even jumped X->2023.1 somewhere but there were some quirks)11:38
noonedeadpunklet me find the resolution for you11:38
KSR-DKOoh sweet! I'll have to look into that.. However I'm a bit conerned about the linux-bridge becomming experimental from ZED - Wondering if a migration to OVN is the way to go before moving on from Y or Z11:38
KSR-DKThank11:38
noonedeadpunkwell, LXB still works on 2023.111:40
noonedeadpunkI think some folks doing 2023.2 upgrades with lxb...11:41
noonedeadpunkwe handling logic for that: https://opendev.org/openstack/openstack-ansible-os_neutron/src/branch/master/templates/neutron.conf.j2#L123-L12611:41
noonedeadpunkfwiw, there;s some blogpost for such migration: https://www.jimmdenton.com/migrating-lxb-to-ovn/11:42
KSR-DKOh yeah, but I mean some features in neutron will be unsupported down the line, and I guess if any bugs occur noone in the community as is will look into it if its related to LXB - At least that's how I've understood their statement11:43
noonedeadpunkyeah. prettty much you're right11:43
noonedeadpunkor well, they won't reject patches or maintaienance, but won't do it on their own more or less11:44
noonedeadpunkAs still quite some deployments are using LXB11:44
KSR-DKLOL I like the GIF in the jimmdenton blog11:44
noonedeadpunk(and OVN bar of getting into understanding isn't low)11:44
noonedeadpunkbut I'd get to the first official slurp release first I guess before doing lxb->ovn migration11:45
noonedeadpunkas there you potentially also might want/need to do OS upgrade11:45
noonedeadpunk(depending on what you're running)11:45
noonedeadpunkas you'd better have the most modern OVN available...11:46
KSR-DKThat's good advice. And yes.. I have an upcomming OS upgrade from Ubuntu 20.04 -> 22.04  also11:46
noonedeadpunknot saying about tons of patches/backports made to 2023.1 for ovn11:46
KSR-DKAnd that is from Z -> it's possibleI guess11:46
noonedeadpunk(I'd save time and jsut jumped Y->2023.1)11:46
noonedeadpunkand yeah, 20.04 not supported in 2023.211:47
noonedeadpunkso it's Z and 2023.1 where you can upgrade11:47
noonedeadpunkiirc11:47
noonedeadpunkanyway11:48
KSR-DKYeah..  I'll look into Y -> 2023.1 - In regards to the quirks.. Can you share something on that?11:48
noonedeadpunkWell, we had when we upgraded from X -> 2023.1 which was not expected to work at all11:49
KSR-DKOk, so It will be deployment specific I suppose11:50
noonedeadpunkIIRC, you should be pretty much carefull with Octavia, as we've migrated to the pki role there, so handling of Octavia certs has changed and jsut make sure you backup them as well (as they have weird location historically)11:50
KSR-DKOh, we don't have that (we run the bare minimum of services)11:51
noonedeadpunkAnd for X -> 2023.1 upgrade Nova doesn't support RPC microversions for such upgrade, so conductor/computes go into chicken-egg loop, where conductor expects to see modern computes, but these fail to start as see too modern conductor11:51
noonedeadpunkSo we jsut updated version in DB for services11:52
noonedeadpunkBut it's not an issue for Y->2023.111:52
noonedeadpunkAnd we've also polished https://docs.openstack.org/openstack-ansible/latest/admin/upgrades/distribution-upgrades.html - I'm not sure of all docs adjustments were actually backported to 2023.111:53
KSR-DK#noonedeadpunk Nice!11:58
KSR-DKAgain - Thanks alot for your help - guess I will be joining the chat again later in my upgrade process! Gotta go, have a nice weeken y'all 11:59
spateldid you see error "Running setup.py install for netifaces did not run successfully." when running pip install python-openstackclient ?20:05
spateldamn !!! this fixed it apt-get install build-essential20:10
gokhaniHello folks, when running masakari installation second time, I am getting "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'br_mgmt'" error. How I solve this issue ?21:42
gokhaniit gives error when creating corosync config 21:43
gokhanierror logs in detail https://paste.openstack.org/show/b3Qh0cegGxZhjoBNtrO6/22:00
gokhaniI get the problem. If it can not reach any masakari monitor host, it can not get facts. so it throws error. 22:25

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