Monday, 2022-06-13

*** raukadah is now known as chkumar|rover04:45
*** ysandeep|out is now known as ysandeep05:46
*** ysandeep is now known as ysandeep|lunch07:30
opendevreviewMerged openstack/openstack-ansible master: Replace glance_nfs_client  https://review.opendev.org/c/openstack/openstack-ansible/+/83755110:09
opendevreviewMerged openstack/openstack-ansible master: Add ability to define bridge type for containers  https://review.opendev.org/c/openstack/openstack-ansible/+/83774210:09
*** ysandeep|lunch is now known as ysandeep10:14
*** ysandeep is now known as ysandeep|sick10:16
starbornTime appropiate greetings. Is there any reason why the OpenStack-Ansible project was not present at the summit or did I just miss you guys?11:10
mgariepygood morning everyone12:20
damiandabrowski[m]hey! 12:22
mgariepyso how was the summit?12:23
damiandabrowski[m]starborn: some of us were there ;) including me, noonedeadpunk, spatel and admin112:23
damiandabrowski[m]mgariepy: it was my first summit so it's hard to compare, I think it was quite small but in overall it was ok ;)12:24
mgariepycool12:25
mgariepyi went to 2 in the past . one in boston and one in vancouver.12:25
mgariepythe one in vancouver was a lot smaller than the boston one.12:26
starborn@damiandabrowski[m] I see.  I remembered the forum session in Denver 2019 and was expecting somehting similar in Berlin but maybe next year in Vancouver :)12:28
damiandabrowski[m]yeah, looking forward to Vancouver ;)12:37
damiandabrowski[m]PS. on public cloud SIG forum we had an interesting discussion about interoperability, here's an etherpad https://etherpad.opendev.org/p/berlin-summit-future-public-cloud-sig12:37
jamesdentonmornin' all13:33
spatelmorning :)13:33
jamesdenton:)13:34
spatelafter long time.. 13:34
jamesdentonhow was the summit? invigorating?13:34
spatelIt was great! but i was expecting more from ovn :) they had only 2 session of ovn and it was all triple0 oriented 13:35
jamesdenton:|13:36
spatelwhat is your plan to migrate LXB/OVS to OVN?13:38
jamesdentoni will have to look at my notes, i have not yet done it in production14:02
admin1i will be brute forcing  ovn on top of ovs this week :D 14:09
admin1for the sake of knowledge 14:09
spateladmin1 go for that14:13
admin1try1 is to try to brute force ovn on top of ovs and see what breaks .. so that something useful comes out to write migration scripts 14:15
admin1if redhat has automated it, then there is a way 14:15
mgariepyadmin1,  ? https://github.com/openstack/neutron/blob/master/tools/ovn_migration/tripleo_environment/playbooks/ovn-migration.yml14:20
admin1yep 14:24
admin1https://github.com/openstack/neutron/blob/master/tools/ovn_migration/tripleo_environment/ovn_migration.sh  -- this was the demo basically .. 14:26
mgariepyok14:27
mgariepymeh the steps whatever the deploytool is must be quite similar.14:27
spatelmigration process is not that hard just because ovn is just extension of ovs. (i am going to give it a shot) 14:39
spatelwe have to force ourself to use OVN otherwise we won't able to learn. I believe next summit will be more about OVN 14:41
jamesdentonadmin1 spatel here are my raw notes. very raw. https://paste.opendev.org/show/bAy6MUYoH2AeDLsSrInC/14:47
spateljamesdenton Thanks this is good info to start something. 14:51
spatelwhat are you doing here with IRONIC ? 14:51
spatelor this is general  notes of OVN 14:52
jamesdentonthese were my notes from LXB -> OVN migration, sorry14:52
jamesdentoni have not gone through the process again to clean up/verify14:53
jamesdentoni guess i did it back in Oct 202114:53
*** dviroel is now known as dviroel|lunch14:54
spatelokie14:57
*** dviroel|lunch is now known as dviroel16:06
opendevreviewJesse Pretorius proposed openstack/ansible-config_template master: Remove orphaned releasenotes  https://review.opendev.org/c/openstack/ansible-config_template/+/84560916:52
odyssey4mejrosser_ noonedeadpunk ^ :) there he goes... doing cleanup things again ;)16:53
jamesdenton:o16:59
noonedeadpunk\o/17:04
admin1minor upgrade from 24.2.0 -> 24.3.0 fails on Fail if galera_cluster_name doesnt match provided value   ... suggestions ? 17:10
admin1or workarounds 17:11
noonedeadpunkare all backends healthy?17:12
admin1yeah 17:12
noonedeadpunkAnd what;s output of mysql --silent --skip-column-names --connect-timeout=10 -e 'SHOW VARIABLES LIKE "wsrep_cluster_name";'?17:13
admin1just ran openstack-ansible galera-install.yml  -e galera_ignore_cluster_state=true -e galera_upgrade=true  to brute force it :D 17:14
admin1but i have another cluster to do the same .. will run it at that 17:14
noonedeadpunkwell... that could be the way...17:14
noonedeadpunkbut I'd be quite cautious if things don't match17:14
noonedeadpunkas then cluster may fall apart udring upgrade17:15
noonedeadpunkor end up empty17:15
admin1actually this has been coming up since 21.x tag ... 17:15
admin1at least for me .. 17:15
noonedeadpunkhuh17:15
noonedeadpunkinteresting17:15
admin1i just brute forced my way ahead :D 17:15
admin1i actually have 3-4 more prod clusters to upgrade .. will report on those 17:16
goldenfr_@jrosser_ Are you around? Thanks for the help on Friday, you were right it seems ansible-inventory isn't working correctly. It won't load any of my old inventory files or even a newly generated one19:04
goldenfr_This is what I get, but I am clueless as to what is causing this: https://paste.opendev.org/show/bp9iurLkvcNpCe9E1L62/19:04
mgariepywhat does /opt/openstack-ansible/test_inventory.json contains? 19:13
goldenfr_it contains an inventory I generated19:14
mgariepyis it valid json ?19:14
goldenfr_I get the same result using openstack_inventory.json19:14
goldenfr_yes, they check out ok using --check19:15
noonedeadpunkwell, you can't use json as inventory input for ansible19:15
goldenfr_ with inventory/dynamic_inventory.py19:15
goldenfr_oh so I'm doing it wrong then19:15
noonedeadpunkopenstack_inventory.json is just cache file which used by dynamic_inventory.py. So it can be 1. ini file. 2. yaml file. 3. executable that returns json19:16
noonedeadpunkin our case dynamic_inventory.py just uses openstack_inventory.json as cache and returns it when it doesn't need to be adjusted19:16
noonedeadpunkbut you can't feed json directly19:17
goldenfr_ah ok, this is my problem, none of the openstack commands work anymore: https://paste.opendev.org/show/bFmFQarBe89z8tQ76DEL/19:17
noonedeadpunkAlso, osa has inventory.ini, that you can use for any extra stuff that's outside of dynamic inventory19:17
noonedeadpunkand it will be fed to ansible as inventory file by default19:17
goldenfr_ok, I don't think I've ever had an inventory.ini19:17
noonedeadpunkoh, what version do you runb?19:18
goldenfr_rocky19:18
goldenfr_its been running for years19:19
noonedeadpunk`Parsed /opt/openstack-ansible/inventory/inventory.ini inventory source with ini plugin` -> says you have :p19:19
goldenfr_ohh I was looking in /etc/openstack_deploy19:19
noonedeadpunkhm19:19
noonedeadpunkIt indeed should be /etc/openstack_deploy/inventory.ini by defaukt....19:20
noonedeadpunkI don't remeber what we had in Rocky and this could be broken back then...19:20
noonedeadpunkSo. If you jsut run /opt/openstack-ansible/inventory/dynamic_inventory.py it will print out json?19:20
goldenfr_yes19:21
noonedeadpunkand you got this even for some test dummy playbook as well I believe?19:23
goldenfr_All the openstack ansible playbooks give me the same error, I didn't test a super simple one19:24
noonedeadpunkSo it feels that that's indeed smth with content that dynamic_inventory produced or what's cached/stored in openstack_inventory.json...19:25
goldenfr_How do I fix that?19:25
goldenfr_so yea ansible-playbook works fine on a simple ping script but openstack-ansible doesn't19:27
noonedeadpunkyeah, that's due to inventory being broken19:28
noonedeadpunkand I don't have simple answer how to fix it...19:28
noonedeadpunkI think even in Rocky, we were archieving openstack_inventory.json already 19:28
noonedeadpunkYou can try looking into archives and comparing/restoring from that "backup"19:28
noonedeadpunkBut in Rocky there could be a bug with that as I can recall archive becoming super big for some reason...19:29
goldenfr_yea I have backups of openstack_inventory.json, I tried replacing that file with older ones, but do I need to do something with the dynamic inventory?19:29
noonedeadpunkwhen you restore from backup, and run dynamic_inventory.py (just manually), is content of openstack_inventory.json changes?19:30
noonedeadpunkAnd what actually changes?19:30
noonedeadpunkThis might give you an idea of what's wrong19:31
noonedeadpunkBecause that basically can go to some problem inside openstack_user_config.yml19:31
goldenfr_ok yea if I run dynamic_inventory.py it does change openstack_inventory.json19:34
noonedeadpunkI think then you should review your openstack_user_config or files inside conf.d 19:35
noonedeadpunkthey likely bring in these changes19:36
goldenfr_Thanks for the help! I'll see what I can find19:41
admin1noonedeadpunk, this is the output for cluster_name in a new one before minor upgrade .. https://gist.github.com/a1git/1e823f1422f2c5b8e023442420e4c884  19:53
admin1still fails 19:53
goldenfr_woohoo! I restored an old openstack_user_config and it's working again. I still can't figure out what is wrong with the old one, it just has one removed host and an extra line19:58
goldenfr_Thank you! @noonedeadpunk20:01
noonedeadpunkadmin1: sorry, will need to look on that with fresh head20:07
noonedeadpunkgoldenfr_: great that you got it working :)20:08
*** dviroel is now known as dviroel|out21:30

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