Wednesday, 2021-06-02

*** kleini has joined #openstack-ansible00:02
*** kleini_ has quit IRC00:02
*** frenzy_friday has quit IRC00:04
*** frenzy_friday has joined #openstack-ansible00:05
*** spatel has quit IRC00:26
*** spatel has joined #openstack-ansible01:08
*** spatel has quit IRC02:22
*** spatel has joined #openstack-ansible02:32
*** frenzy_friday has quit IRC02:53
*** frenzy_friday has joined #openstack-ansible02:54
*** furkance has joined #openstack-ansible03:07
furkanceHi, after installing cloudkitty with openstack-ansible, I'm getting this error log http://paste.openstack.org/show/805863/ Any ideas about how I can fix it? Thanks in advance for your help!03:07
*** spatel has quit IRC04:49
*** luksky has joined #openstack-ansible06:44
noonedeadpunkfurkance: hey07:12
noonedeadpunkjonher: iirc you was facing/seeing same issue at some point?07:13
noonedeadpunkfurkance: can you paste /etc/uwsgi/cloudkitty-api.ini ? I'm thinking if that could be https://opendev.org/openstack/openstack-ansible-os_cloudkitty/commit/c35565f419e1630ba4c3090d062d4b533963ff3e07:16
*** andrewbonney has joined #openstack-ansible07:19
noonedeadpunkbtw, great news about bullseye! https://zuul.opendev.org/t/openstack/build/3e252dc540a346289dc9dce31069b8c107:27
noonedeadpunklxc is super close as well07:28
*** mgariepy has quit IRC07:46
opendevreviewOpenStack Proposal Bot proposed openstack/openstack-ansible master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/openstack-ansible/+/79271907:49
jonherthat should be fixed in https://review.opendev.org/c/openstack/openstack-ansible-os_cloudkitty/+/78283707:59
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_tempest master: Install py3-dev when not building wheels  https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/79415807:59
jonherit's backported to victoria as well in 78926707:59
noonedeadpunkfurkance: ^08:00
noonedeadpunkyeah, ok , then I spotted it right:) Thanks for chiming in!08:00
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [DNM] Add Debian Bullseye support  https://review.opendev.org/c/openstack/openstack-ansible/+/78360608:02
jonheri need to get my other changes to the role pushed too, for example the shipped cloudkitty.conf now has 2.5 year old syntax with stuff not working so it just crashes indefinitely, but i can push that for review later today what i've used in my testing08:05
noonedeadpunkthat would be awesome08:06
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-openstack_hosts master: Use appropriate osbpo repo for Bullseye  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/79416108:15
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [DNM] Add Debian Bullseye support  https://review.opendev.org/c/openstack/openstack-ansible/+/78360608:15
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Cleanup after service variables merged  https://review.opendev.org/c/openstack/openstack-ansible/+/76997408:17
noonedeadpunkjrosser: there's some bug in oslo for sure, but it's not where I was expecting it... http://paste.openstack.org/show/806259/08:56
noonedeadpunkso when you just drop file and not restart service, it will result in 500 with following trace http://paste.openstack.org/show/806260/08:56
jrosseri wonder if it can only cope with an atomic replacement of the policy file08:59
jrosserlike mv the new file over the old one08:59
noonedeadpunkyeah. And if I re-add empty file it's recovering09:05
noonedeadpunkBut the problem is https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/tasks/nova_post_install.yml#L98-L10609:05
noonedeadpunkBut probably worth pathing oslo to handle this scenario...09:07
*** mgoddard_ has joined #openstack-ansible09:13
jrosseri guess theres a lot of uncertainty about the inital state, what happens with whichever $tool during deployment and then the final state which oslo needs to be robust to09:16
*** mgoddard_ is now known as mgoddard09:18
*** mgariepy has joined #openstack-ansible09:19
opendevreviewMerged openstack/openstack-ansible master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/openstack-ansible/+/79271909:20
*** odyssey4me has joined #openstack-ansible09:25
*** jnamdar has joined #openstack-ansible10:00
jnamdarhi o/10:01
jnamdarI'm having a bit of a headache on my panko container, looks like something's messed up in the venv10:01
jnamdargetting this on the panko-api service: `Fatal Python error: initfsencoding: Unable to get the locale encoding` and `ModuleNotFoundError: No module named 'encodings'`10:01
noonedeadpunksounds familiar to cloudkitty issue...10:02
noonedeadpunkwhat's in your /etc/uwsgi/panko-api.ini?10:02
jnamdarcan't seem to find such a module with pip, so that's weird10:03
jnamdarhttps://pastebin.ubuntu.com/p/3dMpjyrSpt/10:03
noonedeadpunkyeah....10:03
jnamdartried looking for a solution, I saw something like python2 and 3 binaries conflicts10:04
jnamdarbut not sure what to do since this is in a venv10:05
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_panko master: Fix wsgi_venv path for panko-api  https://review.opendev.org/c/openstack/openstack-ansible-os_panko/+/79419510:05
noonedeadpunkjnamdar: this should fix it ^10:05
jnamdarok thanks10:08
jnamdarso the filter would just leave the last directory in the path?10:08
jnamdarlike virtualenv = /bin ?10:09
noonedeadpunknope, like `virtualenv = /openstack/venvs/panko-21.2.6.dev1`10:09
jnamdaroh10:09
noonedeadpunkjrosser: damn it - bullseye got maria 10.5.10 from native repos....10:10
jnamdarnoice, seems to be working now, thx noonedeadpunk10:13
jnamdarhad to add a trailing /bin as well for the panko-api binary full path10:14
noonedeadpunkgood catch10:17
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_panko master: Fix wsgi_venv path for panko-api  https://review.opendev.org/c/openstack/openstack-ansible-os_panko/+/79419510:17
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_panko master: Fix wsgi_venv path for panko-api  https://review.opendev.org/c/openstack/openstack-ansible-os_panko/+/79419510:17
opendevreviewJonathan Herlin proposed openstack/openstack-ansible-os_cloudkitty master: Cloudkitty role cleanup and config updates  https://review.opendev.org/c/openstack/openstack-ansible-os_cloudkitty/+/79419910:24
jonher^ that is what i'm running in my test deployment, if i removed some playbook used for some test etc. i'm sure i'll be told so :)10:25
jonhercloudkitty config is fetched from devstack setup that i then moved to the review above and deployed in a AIO10:26
jrossernoonedeadpunk: this is why we get the native repo https://github.com/openstack/openstack-ansible-galera_server/commit/c2e17ae47f451bb2c4f62bab690ea5f2dbbc1f2d10:41
noonedeadpunkyeah I know why... But it also means we can't change it. And when we were merging this it was 10.5.9 :(10:44
*** mgariepy has quit IRC11:04
jrosserunfortunatley the old packages are not still in the mirror so we can't pin it back11:04
jrosserand 10.5.10 is broken isnt it?11:04
noonedeadpunkit is11:14
noonedeadpunkand lxc already started failing on cinder "randomly"11:14
*** zigo has joined #openstack-ansible11:25
noonedeadpunkzigo: any chance to influence mariadb version used for debian bullseye repo?11:25
zigonoonedeadpunk: At this point, there's no way to change the version, no. Though if you have the bug you referred to on freenode, you should open a bug against the package.11:26
zigonoonedeadpunk: I did setup Cinder on Bullseye and had no issue...11:26
zigonoonedeadpunk: Are you *sure* Bullseye is affected by the bug you referred?11:26
noonedeadpunkzigo: yeah, we see it in CI11:27
noonedeadpunkhttps://bf8b3683a4d2b36abe64-1877198ef7d2100f38eb37f99c1c7298.ssl.cf1.rackcdn.com/783606/20/check/openstack-ansible-deploy-aio_lxc-debian-bullseye/aa42a18/logs/ara-report/results/2512.html11:27
zigonoonedeadpunk: Please do open the bug in the Debian BTS. The MariaDB maintainer is a very reponsive and responsible person, he WILL address if it you open the bug.11:28
noonedeadpunkok, gotcha11:28
jrosserthere was a corresponding mariadb JIRA ticket i think?11:29
noonedeadpunkyep  https://jira.mariadb.org/browse/MDEV-2567311:29
noonedeadpunkzigo: another thing I was wondering is presence of api-paste's in deb pakages?11:30
noonedeadpunkIt might be we just miss to install containing it package...11:31
zigonoonedeadpunk: What do you mean?11:31
zigoWhat package is that?11:31
noonedeadpunkyeah, jsut a sec...11:32
noonedeadpunkzigo: so for example, glance-common for ubuntu does contain this file https://opendev.org/openstack/glance/src/branch/master/etc/glance-api-paste.ini11:35
noonedeadpunkie https://launchpad.net/ubuntu/impish/amd64/glance-common/2:22.0.0-0ubuntu111:35
noonedeadpunkzigo: so I was wondering if it's as designed not to include it for deb?11:36
zigonoonedeadpunk: The Debian package has it too, it is just installed in a different way.11:36
*** luksky has quit IRC11:36
*** luksky has joined #openstack-ansible11:37
noonedeadpunkI think I actually already asked this before :(11:37
noonedeadpunkOh, it's in control or smth?11:37
zigonoonedeadpunk: In the Ubuntu package (I haven't checked, but it should be the case), the /etc/glance/glance-api-paste.ini is just a CONFFILE (note: CONFFILE != configuration file), meaning it's part of the package in /etc.11:37
noonedeadpunkyep it is11:37
zigonoonedeadpunk: In Debian, glance-api-paste.ini is copied from /usr/share/glance-common/glance-api-paste.ini *IN THE POSTINST* of the package, and set with the root:glance and 640 unix rights.11:38
zigoIt's copied *ONLY IF* there's no such file already.11:38
zigoMeaning, during an upgrade, it's the admin's responsibility to copy it if it has changed.11:39
zigoThe reason I'm doing this way is to avoid dpkg's prompt durring upgrade if some changes has been done in the api-paste.ini file *and* because I want root:glance 640 as unix rights (so the user must be created, then the file copied). I strongly believe it's safer and nicer this way.11:40
zigoIn Ubuntu, I haven't checked, but I'm quite sure it should be root:root 664 as unix rights, no?11:40
noonedeadpunkzigo: oh! I found and the issue is different11:40
noonedeadpunkpython3-glance does not depend on glance-common11:40
zigoRight, it's the opposite way ! :)11:41
zigoglance-common depends on python3-glance, and that's how it should be.11:41
zigoIMO, you should *never* attempt to install python3-glance or glance-common on the configuration management level.11:41
zigoWhat you should care about, are the final services.11:41
zigoie: you should be installing glance-api, and nothing else...11:41
zigoThe packaging should be doing the rest for you.11:42
noonedeadpunkwell, for ubuntu it's `Depends: glance-common`11:42
noonedeadpunkso we basically do https://opendev.org/openstack/openstack-ansible-os_glance/src/branch/master/vars/debian.yml#L3211:42
noonedeadpunkyeah, ok, so glance-api for debian depends on glance-common and for ubuntu only on python3-glance11:45
noonedeadpunkso that is really fair point! thanks for sorting this out!11:45
zigonoonedeadpunk: I just had a look to what's done in Ubuntu, and indeed, they have stuff backwards. The dependency chain *SHOULD* be:11:51
zigoglance-api -> glance-common -> python3-glance11:51
zigoJust like it's done by all other packages. But they have things backward this way:11:51
zigoglance-api -> python3-glance -> glance-common11:51
zigoI see it as an Ubuntu defect rather than a feature...11:51
zigoAnyway, on your side, just apt-get install glance-api, and you're good to go on both distros.11:51
opendevreviewMerged openstack/openstack-ansible master: Gather additional required facts to min  https://review.opendev.org/c/openstack/openstack-ansible/+/78977611:55
noonedeadpunkzigo: yeah, agree, that's looks like nice solution11:57
*** mgariepy has joined #openstack-ansible12:26
*** spatel has joined #openstack-ansible12:58
opendevreviewJonathan Herlin proposed openstack/openstack-ansible-os_cloudkitty master: Cloudkitty role cleanup and config updates  https://review.opendev.org/c/openstack/openstack-ansible-os_cloudkitty/+/79419913:08
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_glance master: Install glance-api for distro scenario  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/79422013:10
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [DNM] Add Debian Bullseye support  https://review.opendev.org/c/openstack/openstack-ansible/+/78360613:20
furkancenoonedeadpunk, thanks! that one resolved but now I'm getting this one; http://paste.openstack.org/show/806274/13:34
noonedeadpunkand how did you apply that patch? Manually or...?13:36
furkancewith using git13:37
*** manti[m] has joined #openstack-ansible13:37
noonedeadpunkwell I mean you could cherry-pick/branch/pull/etc13:38
noonedeadpunkas in case of using smth other then cherry-pick you could get master branch of the role or smth like that13:38
noonedeadpunk(not sure)13:38
furkancefirst I checked out to stable/victoria branch and then I used git pull13:39
*** manti[m] is now known as manti13:39
noonedeadpunkaha13:39
noonedeadpunkgotcha13:40
noonedeadpunkso the issue here is that in migration it fails to "alembic.util.exc.CommandError: Can't locate revision identified by 'Ifbf5b2515c7'"13:40
noonedeadpunkand `Ifbf5b2515c7` looks like gerrit change-id rather then git sha...13:40
noonedeadpunkyeah looks like it's about this specific patch https://review.opendev.org/c/openstack/cloudkitty/+/75586513:42
noonedeadpunkwhich is from Wallaby13:42
noonedeadpunkso you should not have it on V, but I suspect your database before checkout might be using this migration?13:47
furkancewhen I was running openstack-ansible installation for cloudkitty at first I forgot to specify branch and commit in defaults/repo_packages/openstack_services.yml, so in previous installation attempts of mine probably it used Wallaby (a side note, our environment is stable/victoria)13:54
spatelnoonedeadpunk jrosser i am ready to submit OVN cluster create ansible playbook13:54
*** tosky has joined #openstack-ansible13:54
spatelJust running some last test to make sure it pass them, also please feel free to modify my playbook or comments because it may not meet your expectation :)13:55
*** zbr has joined #openstack-ansible13:55
noonedeadpunkfurkance: if cloudkitty service is empty, you should try jsut dropping database and re-run role14:03
noonedeadpunkspatel: let's see:) I think it's also worth pinging James once path will be sent14:04
spatelhe is not here, i did ping him in old channel14:04
furkancenoonedeadpunk, thanks, I dropped it when u mentioned and waiting for the installation complete14:05
jrosserspatel: i would expecy you to be adding tasks to the os_neutron role to make the OVN cluster, rather than a new playbook?14:11
spateljrosser its part of os_neutron/task/provider/  just 2 files14:12
jrosseroh ok, np14:12
spatelits only for ubuntu at present, hope i will adjust later for centos (i don't have centos lab at present)14:13
spateli think it should work for all distro.. its very simple tasks.14:13
opendevreviewMerged openstack/openstack-ansible-lxc_hosts master: Add debian bullseye support  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/79389514:16
furkancenoonedeadpunk, it completed succesfully and both cloudkitty-api, cloudkitty-processor services working properly, thanks for the help14:17
jonhermake sure the service is not crashing repeatedly, unless you also have the patched config from 794199 or another valid cloudkitty.conf14:18
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_glance master: Install glance-api for distro scenario  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/79422014:23
noonedeadpunkzigo: returning back to packages - I guess I know why we were trying to install just python3-glance. Because glance-api is providing all systemd scripts over which we want to have control. Ofc we can do just overrides, but it was easier to just not install them. As python3-glance provide all required binaries14:27
noonedeadpunkin the meanwhile in deb to get binaries you have to also install glance-api, which will bring in systemd scripts as well14:28
zigonoonedeadpunk: Well, in Debian, the packages are using uwsgi, so if you don't install glance-api, you'll get back to eventlet, which is kind of super bad ...14:28
zigonoonedeadpunk: Is ansible using uwsgi or apache, or what?14:29
noonedeadpunkwell if we're talking about glance specifically, then you have glance-wsgi-app in glance-common14:29
noonedeadpunkwe're using uwsgi14:29
noonedeadpunkbut, for glance specifically it's not always best choice, as things known to be broken with uwsgi14:30
noonedeadpunkbut if we talk about cinder, there're no binaries in cinder-common except wsgi14:32
noonedeadpunkI guess we will have to somehow workaround this in our roles then. And do just overrides of systemd when we need14:34
opendevreviewMerged openstack/openstack-ansible-os_cinder master: Remove obsoleted packages  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/79397414:35
*** opendevreview has quit IRC14:38
*** opendevreview has joined #openstack-ansible14:48
opendevreviewMerged openstack/openstack-ansible-os_neutron master: Replace py2 httplib2 package with py3 alternative  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79400214:48
Gue______spatel hello14:50
*** Gue______ is now known as jamesdenton14:51
spatelHi14:51
jamesdentondidn't realize my nick had changed14:51
spatelhehe14:51
spatelgood to see you here..14:52
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add Debian Bullseye support  https://review.opendev.org/c/openstack/openstack-ansible/+/78360614:54
noonedeadpunkI dunno why, but I see this "Guest" pretty frequently on OFTC14:54
spateljamesdenton doing final validation of my patch to make sure nothing missing. I don't know how to check with AIO so will see how CI will react on it14:54
jamesdentonyou might want to see if you can leverage the MNAIO14:55
spatelnever tired that before but sure good to have..14:56
jamesdentonhttps://github.com/openstack/openstack-ansible-ops/tree/master/multi-node-aio14:59
jamesdentonexport MNAIO_ANSIBLE_PARAMETERS="-e osa_enable_networking_ovn=true"; ./build.sh14:59
jamesdentonso you might deploy, and then apply your patches and run the playbook(s) again15:00
jamesdentonnot sure if there's a way to bring a patch in there at deploy time or not15:00
jrosserfast disks for that will be a massive bonus15:02
noonedeadpunkis it still working? o_O15:02
noonedeadpunkbtw, I think we should not implement Bullseye distro install atm15:03
noonedeadpunkmaybe bring it later on or for X...15:03
noonedeadpunkas it will be really a mess with systemd15:04
spateljamesdenton thanks!! will give it a try (i may need to get bigger disk and fast :) )15:04
jamesdentoni recommend NVMe, it helps!15:08
jamesdentonnoonedeadpunk i last tested 11 months ago. i think15:09
*** luksky has quit IRC15:09
noonedeadpunkoh, good to know:)15:09
*** spatel has quit IRC15:17
*** spatel has joined #openstack-ansible15:22
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rsyslog_client master: Replace linters test with integarted one  https://review.opendev.org/c/openstack/openstack-ansible-rsyslog_client/+/79425415:23
opendevreviewMerged openstack/openstack-ansible master: Always use checkout for git_requirements library  https://review.opendev.org/c/openstack/openstack-ansible/+/79101115:23
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rsyslog_client master: Replace linters test with integarted one  https://review.opendev.org/c/openstack/openstack-ansible-rsyslog_client/+/79425415:25
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_hosts master: Add upgrade jobs  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/79425515:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_container_create master: Add upgrade jobs  https://review.opendev.org/c/openstack/openstack-ansible-lxc_container_create/+/79425615:29
noonedeadpunkwould be awesome to summon a vote on https://review.opendev.org/c/openstack/openstack-ansible/+/790042/815:32
jnamdarhey all, when I use SCENARIO='aio_lxc_telemetry', is ceilometer configured to communicate with panko?15:33
jnamdari have nothing panko-related in /etc/ceilometer, although it may default to panko for some missing config files15:34
noonedeadpunkI'm not sure we were really integrating it as I'm not sure if anybody uses panko for real atm15:35
jnamdaralso I think gnocchi and ceilometer are well-configured, but I see nothing bringing up in gnocchi15:35
jnamdaridk how I can make sure ceilometer is sending anything15:35
noonedeadpunkgnocchi and ceilometer integrtation should be working15:36
jnamdarI'm getting a lot of "skip pollster ****, no resources found this cycle"15:36
noonedeadpunkbut there were some issues with gnocchi itself (or more wierdness in logs) I had no time to look into.15:36
noonedeadpunkeventually ceilometer also gathers a lot with notification agent15:37
noonedeadpunkI'm really don't use pollster much - maybe just for glance iamges...15:37
noonedeadpunkthe most important stuff goes through notifications anyway15:38
jrosseri think panko has just been retired too?15:39
noonedeadpunkregarding panko - really never tried it out, so can't help anyhow :(15:39
noonedeadpunkoh, indeed15:39
noonedeadpunkwallaby is the last release15:40
jrosserso we almost certainly drop the role for X15:40
jnamdaroh damn yea15:40
jnamdarit just did lol15:40
jnamdaram I supposed to see notifications going out in ceilometer-agent-notification.service?15:42
jnamdarI just have a bunch of logs at startup but that's all15:42
noonedeadpunknope, you're not. But you should see incoming api requests to gnocchi15:44
noonedeadpunkeither in haproxy or in access log15:45
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426616:17
spateljamesdenton here you go.. lets review comments  - https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426616:18
spatelnoonedeadpunk jrosser ^^16:18
spatelwait.. need to add setup file :)16:19
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426616:19
jamesdentoni will try to kick the tires on this later today/tomorrow16:21
jamesdentonspatel any impact to traffic if the playbooks are run?16:32
spatelare you talking about VM traffic?16:33
*** mgariepy has quit IRC16:33
spatelthere won't be any impact because you have other nodes in cluster and client using haproxy to talk to ovn central16:34
spateljamesdenton ^^16:35
jrosserdoes the leader ever change?16:37
jrosseri.e in a failover situation16:38
*** jnamdar has quit IRC16:40
spatelyes16:43
spatelwhen you build first time then node-1 is leader and node-2/3 join node-116:43
spatelbut when cluster is running and you reboot node-1 then leader can be anyone after election node-2 or node-316:44
spatelso lets say node-1 die with some reason in that case we need to find who is new leader and use that leader to bring back node-116:45
spatelmy patch will take care of that also16:45
noonedeadpunkspatel: commented16:46
spatelnoonedeadpunk thanks some of code i steal from existing playbooks so may be need improvement.. i will review your comments and improve code16:47
noonedeadpunkI have no idea about functional aspect though16:48
*** tosky has quit IRC16:48
spatelcodes are pretty straight forward so not sure need any logic change but yes lets see if someone find any bug16:50
spatelnoonedeadpunk i may need your help in some of your comments like, i tried to use handle but it didn't work and find handler16:51
spateli tried to add in handler/main.yml but it was fail to find16:51
noonedeadpunkum? I dunno how it might appear to not being foung16:53
noonedeadpunk*found16:53
noonedeadpunkit's also more about what should trigger it16:54
spateli will try again and show you error logs16:54
spatelnoonedeadpunk do you mean with_item look here? https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/794266/2/tasks/providers/ovn_cluster_setup.yml#31.16:56
spateli didn't understand systemd loop that is why asking16:56
spateljrosser here is the full detail of clustering in my words - https://satishdotpatel.github.io/openstack-ansible-ovn-clustering/17:00
jrosserspatel: well i was just wondering what happen if you restart one of the services without using the playbooks, like reboot a node or something17:01
jrosserthat the leader seems to be used in the /etc/defaults template, and thats maybe only valid at the time the template was made?17:01
spatelif you reboot node then other node will take leader role...17:02
noonedeadpunkspatel:  http://paste.openstack.org/show/806287/17:02
noonedeadpunkor smth like that17:02
noonedeadpunkwith_items can be just replaced with loop17:02
spateli didn't try to reboot all 3 node at same time.. (let me do it )17:03
*** furkance has quit IRC17:03
noonedeadpunkhttps://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#iterating-over-a-simple-lis17:03
noonedeadpunk* https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#iterating-over-a-simple-list17:03
spatelnoonedeadpunk hmm interesting i will try that code and see17:03
*** furkance has joined #openstack-ansible17:03
spateljrosser i didn't hardcode leader node anywhere, code will find new leader dynamically and use that to join cluster17:04
spatelleader is basically like donor17:05
jrosseroh, i was a bit confused with this then i think https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/794266/2/templates/ovn-central.j217:05
spateloh okay, leader_node is fact generated dynamically17:05
jrosserso thats really my question, in that config file is it OK to template out what the leader node is at that time17:06
jrossergiven that it may change17:06
spatelhttps://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/794266/2/tasks/providers/ovn_cluster_setup.yml#3717:06
jrosseroh yes i see where it comes from :) but i am wondering about the case when you restart the service at some point in the future17:07
jrosseranyway - i've never had hands-on experience with any of this17:08
spatelIf you have 3 node running cluster and want to add node-4 in that case you need to find leader and my code finding that leader and supply that value to template config.17:10
spatelbut if you building fresh cluster then i hardcoded node-1 will be leader17:11
noonedeadpunkI think the question was - what will happen if you just just power cord to the current configured leader17:11
spatelOVN is really cool and you should be playing with :) its future17:11
noonedeadpunk*just cut17:11
spatelif you power cut current leader then it cluster automatically elect new leader17:12
noonedeadpunkwill it be re-elected despite config file is providing it explicitly?17:12
noonedeadpunkok)17:12
spatelyes.. despite config it will elect new leader17:12
spateljust like rabbitMQ17:13
noonedeadpunkand then when it will come back it will become leader again?17:13
spatelno it won't come back17:13
spatelleader can be anywhere in cluster no matter in running cluster17:14
spatelwhen you add new node in cluster that time you need to know which node is leader to just join cluster17:14
spateljrosser noonedeadpunk check this out - https://ibb.co/mB8BDmf17:20
spatelnode-1 was leader and i reboot17:21
spatelafter reboot node-2 turn into leader and node-1 follower17:21
noonedeadpunkyep, gotcha)17:23
noonedeadpunkWe really struggle so much with ovs atm...17:23
spatelwe should make OVS default for OSA deployment :)17:23
noonedeadpunkyou meant ovn?:)17:23
spatelJust OVS deployment instead of linuxbridge :)17:24
noonedeadpunkreally I dunno. imo lxb is the way more reliable then ovs17:24
spatelPackstack using default OVN deployment, they are ahead of everyone17:24
noonedeadpunkdevstack is using ovn by default17:25
spatel+1 for simple and reliable17:25
noonedeadpunkso, it's more like a standart now17:25
spatelYeah! I am planning to run in production so that is why doing all these practices17:26
noonedeadpunkLike now we were facing issue with ovs being stuck because of glibc bug. And update glibc, restart ovs and not break network for half an hour is a real challednge with ovs...17:26
noonedeadpunkwhile I never saw nothing even close nasty with lxb17:27
noonedeadpunkand hope not seeing with ovn as well17:27
noonedeadpunkand things like, octavia can't spawn new amphoras because of stuck dhcp agent is insane thing...17:28
spatelovs had lots of issue but now its much better with latest OS and kernel17:30
noonedeadpunklatest is... focal?17:30
spatelYes focal and up..17:30
noonedeadpunkI'm still on bionic17:30
spateli haven't seen any issue again i am doing all test in lab17:30
spatelOVN has built in loadbalancer i didn't test yet but17:31
noonedeadpunkyeah, on small clouds it's okey, but when you have 7 net nodes 400 namespaces each - meh....17:32
noonedeadpunkwell, to be fair - lxb would just die17:32
spatelI love linuxbridge trust me.. i am running 800 node cloud with linuxbridge and not a single issue17:33
spatel99.999 uptime since i built it almost 3 years now17:33
spatelOVN support hardware VTEP and can directly talk to your TOR switch if support openflow, that is really cool17:35
spatelyou don't need fancy NIC card etc..17:35
*** mgariepy has joined #openstack-ansible17:37
*** andrewbonney has quit IRC17:49
*** ioni has quit IRC17:51
*** gshippey has quit IRC18:31
*** luksky has joined #openstack-ansible19:05
*** luksky has joined #openstack-ansible19:05
*** fungi has joined #openstack-ansible19:17
fungijust a heads up, we've had now another openstack-ansible user end up causing a denial of service on our git servers by trying to perform a site upgrade, which flooded the opendev.org git server farm with requests. there's supposed to be a central git cache the servers all hit in an osa deployment, right?19:19
*** tosky has joined #openstack-ansible19:23
jrosserfungi: no, there isn't a cache of git repos19:30
jrosserin the distant past there used to be, there is however a cache of built wheels19:31
jrosserand the wheels should be built just the once19:31
fungiso if someone has a site with, say, 200 nova hosts... those will all clone nova independently from us?19:32
fungiwhen this came up before you (i think? maybe it was someone else) said that if it was doing that it was a sign the local cache was broken. i guess i assumed git cache, but maybe it was the wheel cache then?19:33
jrosserno, that should not happen19:33
*** b1tsh1ft3r has joined #openstack-ansible19:33
jrosserthe first time the venv is built for a service/release combination the wheels should be built once19:33
fungithis is at least the third different osa user who has done this, so it would be great to figure out how it's getting triggered19:34
jrosserand then repeatedly installed from the local cache for all the remaining times they are needed19:34
jrosseryeah, well i did a whole series of this https://review.opendev.org/q/owner:jonathan.rosser%2540rd.bbc.co.uk+user-agent19:34
jrosserthough that does rely on point releases getting out and someone trying to use one19:34
fungii mean, in this case the challenge isn't identifying who/what software was doing it, thankfully they were the one to reach out to us about the outage19:35
fungiand said they were trying to do an operating system upgrade for an openstack-ansible site19:35
jrosserproblem has been finding someone willing to do even basic investigation of this during the time they are in the middle of an upgrade19:36
fungiand corresponding openstack version upgrade19:36
jrosserfirst time turned into "we're just going to fight our way though rather than try to fix this"19:36
fungiyeah, i've urged people to come in here every time it crops up19:36
fungibut that seems not to happen19:36
jrossersadly not19:37
fungithis user similarly worked around it by switching all hard-coded instances of opendev.org to github.com in osa playbooks/roles19:37
b1tsh1ft3rLooking for a little guidance on getting designate rolled out. Im running openstack-ansible train release. Looking at the docs here: https://docs.openstack.org/openstack-ansible-os_designate/train/ it would appear its just simply running the playbook and defining a pools.yml? However, im unsure if the dns backend definition is something that should reside in the sample playbook or perhaps the user_variab19:37
b1tsh1ft3rles.yml on the deploy host maybe?19:37
jrossersad thing is it's making the deployment *massively* slower for them19:37
spatelb1tsh1ft3r i have tried my best to document designate here so give it a try and see - https://satishdotpatel.github.io/designate-integration-with-powerdns/19:43
spatelPowerDNS is outside OSA infrastructure.. so if you have other DNS adjust according19:43
b1tsh1ft3rperfect! i'll give it a look19:43
spatelby the way is this your username or your password.. just kidding :)19:45
opendevreviewJeremy Stanley proposed openstack/openstack-ansible master: DNM: exercise base-test in ansible deploy jobs  https://review.opendev.org/c/openstack/openstack-ansible/+/79433219:49
spatelnoonedeadpunk what is the advantage of config_template ?19:56
*** lowercase has joined #openstack-ansible20:00
lowercasehey whats going on.20:00
lowercase@fungi20:01
lowercase@jrosser20:02
jrosserhi - it would be really great to try to understand why your upgrade is causing so much load on the opendev server20:02
jrosserit's occurred a few times now for different people20:03
jrosserthough it's getting kind of late here for me so ideally we could talk about it tomorrow?20:03
lowercaseI'll be in the office tomorrow. I'm doing a couple chassis swaps to our openstack swift cluster.20:04
lowercaseSo, maybe friday?20:04
lowercaseor is there a specific time? I could make myself be in front of a computer and out of the DC if the time is reasonable.20:06
jrosserI’m around tomorrow EU time but not Friday20:09
jrosserbut noonedeadpunk is probably around then too20:10
jrosserit’s quite a big issue really because it breaks all the openstack CI jobs as well as your upgrades20:10
lowercasevery much so20:11
jrosserpotentially thousands of donated CPU hours of testing breaks20:11
lowercaseHow about 10:00AM UTC, thats 11:00AM London20:12
lowercaseoh wait, thats stupid early for me20:13
lowercase3:00 pm London?20:13
*** b1tsh1ft3r has quit IRC20:14
*** spatel has quit IRC20:18
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [doc] Add OS compatability matrix  https://review.opendev.org/c/openstack/openstack-ansible/+/78937620:19
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [doc] Add OS compatability matrix  https://review.opendev.org/c/openstack/openstack-ansible/+/78937620:19
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Add Debian Bullseye support  https://review.opendev.org/c/openstack/openstack-ansible/+/78360620:25
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [doc] Add OS compatability matrix  https://review.opendev.org/c/openstack/openstack-ansible/+/78937620:26
*** b1tsh1ft3r has joined #openstack-ansible20:33
*** b1tsh1ft3r has quit IRC20:51
*** b1tsh1ft3r has joined #openstack-ansible21:13
*** jamesdenton has quit IRC21:21
*** Gues_____ has joined #openstack-ansible21:23
*** b1tsh1ft3r has quit IRC21:30
*** furkance has quit IRC21:56
*** furkance has joined #openstack-ansible21:57
*** b1tsh1ft3r has joined #openstack-ansible22:00
*** b1tsh1ft3r has quit IRC22:17
*** furkance has quit IRC22:30
*** furkance has joined #openstack-ansible22:30
*** luksky has quit IRC22:35
*** b1tsh1ft3r has joined #openstack-ansible23:15
*** lowercase has quit IRC23:23
*** tosky has quit IRC23:25
*** b1tsh1ft3r has quit IRC23:30
*** furkance has quit IRC23:41
*** furkance has joined #openstack-ansible23:41

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