Friday, 2022-03-25

*** chandankumar is now known as chkumar|rover05:52
*** arxcruz|ruck is now known as arxcruz08:10
mossblaserzigo: I tried copying over the http-auto-chunked/http-chunked-input (and indeed the other settings) from the swift patchset into the glance uwsgi config (v2.0.20 btw) but this doesn't seem to fix things for Glance :(08:52
*** mgoddard- is now known as mgoddard09:11
gokhaniHi folks, how can I use  my previously created letsencryp cert with OSA? I stucked  rate limits :(10:01
noonedeadpunk gokhani I'm not sure there's a way unortunatelly :(10:04
gokhaninoonedeadpunk: if I copy the certificates in /etc/letsencrypt/live/<domain> and disable create certs steps may be it will work 10:10
noonedeadpunkoh well, with some manual steps it will yes10:10
noonedeadpunkyou can even provide these certs as static ones...10:11
noonedeadpunkas if you just disable ssl, then endpoints likely will be just not serving https10:11
gokhaninoonedeadpunk: you mean by static ones means like  user provided ssl10:16
noonedeadpunkyup10:17
noonedeadpunkbut again, question of renewal would be quite valid10:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Update ssh_keypairs role to fix module for Rocky Linux 8  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/83515211:01
*** chkumar|rover is now known as raukadah12:01
mgariepygood morning everyone12:43
NeilHanlonmorning mgariepy :)12:55
NeilHanlonjrosser: w.r.t. osa-tests: think rocky is needed here? https://opendev.org/openstack/openstack-ansible-tests/src/branch/master/test-ansible-env-prep.sh#L19412:55
opendevreviewNeil Hanlon proposed openstack/openstack-ansible-tests master: Update tests for Rocky Linux  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/83521913:00
opendevreviewNeil Hanlon proposed openstack/openstack-ansible-plugins master: Update ssh_keypairs role to fix module for Rocky Linux 8  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/83515213:00
jamesdentonspatel mgariepy hit this with OVN a couple of times, just a heads up if you see it: https://www.jimmdenton.com/neutron-ovn-private-chassis/13:46
mgariepyhey jamesdenton :) i'll read that carefully :D13:47
mgariepyi haven't played much with ovn lately unfortunatly.13:50
spateljamesdenton very interesting.. 13:51
spatelI am running OVN in production and haven't seen any issue like that so far (I am using wallaby release)13:51
jamesdentoni'm not sure what the conditions are13:52
spatelfeel like bug or race condition 13:52
spateldid you report this issue ?13:53
jamesdentonno, but i referenced some bugs/patches that seem to be aware13:53
spatelok13:54
spateljamesdenton curious what kind of homelab you have and your electricity bill :) ? 13:55
jamesdentonhah13:56
spatelI have started building my homelab using DL360 Gen9 1U servers13:56
jamesdentoni think my lab expense is ~$45-50/mo13:56
spatelI have 2 server but in future plan is to get more. 13:56
spatelDo you keep them running all the time or just turn on/off when you need?13:57
jamesdentonit started as 1x controller and 1x compute that i left on continuously, and it has now morphed into 3x controller on ESXi and 3x hyperconverged ceph/compute and ~4-5 ironic nodes14:02
jamesdentonso there's 4 nodes on all the time, plus a mellanox SN2100 and a 1G switch14:02
spatelgoodness 14:15
spatelI am running lab only when i need it and then turn it off 14:15
spatelrunning everything inside ESXi 14:16
jamesdentonthat's probably the better approach :D14:32
spateljamesdenton also planning to put tesla solar panel to go green :)14:45
spatelthen i can keep stuff running all the time (except winter hehe) 14:45
spatelnoonedeadpunk around?14:46
spatelor jrosser 14:46
jamesdentonawesome14:46
spatelGetting this error and not sure why - got this error - https://paste.opendev.org/show/bzT7JMrwONnSza328XoO/14:47
noonedeadpunksemi-around14:47
noonedeadpunkspatel: some fact gathering issue14:47
noonedeadpunknot happy about absent ansible_facts['processor_vcpus'] 14:48
spatelodd.. 14:48
noonedeadpunkyup....14:49
noonedeadpunkwhat version is that?14:50
spatelwallaby 24.0.014:50
spateli think xena sorry14:50
spatelXena-24.0.0 release14:51
gokhanihi folks, is there any bug about mysql ansible collection on 22.1.0? I am getting errors when creating database. Error is "msg": "The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python (Python 2.X) module is required."14:51
NeilHanlongokhani: what OS ?14:51
gokhaniNeilHanlon: it is focal14:52
NeilHanlonwould suggest to me that your ansible_python_interpreter is a bit wonky, or the module is just missing14:53
NeilHanlonis this a new, or an existing deployment?14:53
gokhaniNeilHanlon: this is a new deployment 14:57
jrossergokhani: the db setup tasks should all be delegated to the utility host14:58
jrosserif something failed when deploying that and you moved onward rather than fix it, you would get that error14:58
NeilHanlonthanks jrosser, wasn't sure if it was a bootstrap problem14:59
jrosserthere is a venv in the utility container which should have all the required libraries ready14:59
jrosseryou should run with enough -vvv to see what the python interpreter is set to for the failing task15:00
jrosserthen go to that place and check that the libraries are present15:01
gokhanijrosser: I see. yes you are right, I get errors when utility-install beacuse of network connection, but after solve connection problems, rerun playbook and everything is ok. 15:06
jrossergokhani: cool :)15:06
jrosserutility container is important15:06
gokhanijrosser: I think after failing playbook, I need to clean facts15:10
jrosserif it is more than 24hours since you deployed the utility container then there may not be any facts for it15:11
jrosserthey have a timeout15:12
gokhanijrosser: now I checked the utility containers, openstack clients are missing in pip list15:13
jrosserit’s possible that we don’t re-gather them at the right point but you’d need to look at the log for your specific playbook run to see15:13
jrossergokhani: did you check in the utility venv though?15:14
jrosserthey are in /use/local/bin symlinked to the venv, so the regular host pip won’t see the python packages15:15
gokhanijrosser: yes, I checked in utility venv15:18
gokhanialso checked python venv build log, it didn't try to install openstack clients15:20
gokhanimaybe venv_rebuild=yes works for utility15:23
gokhaniand yes venv_rebuild=yes solved the issue:) 15:27
spateljrosser any idea what i should or how to fix it - https://paste.opendev.org/show/bzT7JMrwONnSza328XoO/15:29
noonedeadpunkensure your facts are gathered?15:49
noonedeadpunkbasically I believe they should be gathered on playbook startup https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/os-placement-install.yml#L1815:50
noonedeadpunkANd it's really interesting why they're not15:52
noonedeadpunkit doesn't seem that it should be delegated, so feels like facts in topic are just for placement container15:53
spatelsame error now i am getting for glance container 16:01
spateleverything was working month ago before i upgrade to xena16:01
noonedeadpunkWhich sounds like exactly missing facts....16:02
noonedeadpunkBut I'm pretty sure that on X we have this all covered16:02
noonedeadpunkExcept what we have changed - default for ANSIBLE_GATHER_SUBSET https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/openstack-ansible.rc#L3616:03
noonedeadpunkBUT processor_vcpus are in hardware facts, so they're covered with extra task https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/os-glance-install.yml#L3516:05
noonedeadpunkspatel: so question is - are you using default playbooks? and if yes, are you sure you're still on 24.0.0 for openstack-ansible repo?16:06
spatelnoonedeadpunk what do you mean by default playbook? 16:09
spatelhttps://paste.opendev.org/show/bfLUZVHABDq5L9HK8TJ8/16:10
noonedeadpunkwell, you could write own playbooks for example to run roles provided by osa :)16:12
noonedeadpunkspatel: and I was moe wondering about git status in /opt/openstack-ansible16:13
spatelOn branch stable/xena16:15
noonedeadpunkok, so would be great to understand if facts are actually gathered with task I mentioned and if include is processed as expected16:16
spatelnoonedeadpunk one more thing i noticed its only throwing error when i use --tags common_mq 16:17
spatelhttps://paste.opendev.org/show/bSvEVyGbc92eH1ygkl89/16:17
noonedeadpunkok, that;s smth16:17
spatelyesterday my rabbitMQ was upset so i tried to run that tags to rebuild users but stuck with that error :(16:18
spatelfinally i create users manually16:18
noonedeadpunkDamn, I guess I know what the issue is16:18
spateli knew it :)16:19
spatelyou will fix something16:19
noonedeadpunknot sure yet how to fix though16:19
noonedeadpunkand need to prove idea in aio first16:19
spatelhow does it working for you then with --tags common_mq16:19
spatelgive me clue and i can try to reproduce.. 16:20
noonedeadpunkso pre-tasks in playbook are not run when tags are being used16:21
spatelhmm16:21
noonedeadpunkso basically because of https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/os-glance-install.yml#L3216:22
noonedeadpunkfacts are not gathered down the line16:22
spatelBut nova/neutron has no issue with tags common_mq 16:23
spatelNo error when running openstack-ansible os-nova-install.yml --tags common-mq16:23
spatelonly placement/glance not happy with that 16:23
noonedeadpunkwhich also means that backends are not disable when running with tags16:24
noonedeadpunkwell, it's easy to workaround issue you see16:25
noonedeadpunkhttps://paste.openstack.org/show/brMDgheH7UjlRdzTlVrc/16:26
noonedeadpunkbut how to manage haproxy endpoints is interesting16:26
spateloh wait why haproxy coming in picture ?16:27
spatellet me try that patch and see16:27
NeilHanlonnoonedeadpunk: i think 835152 is ready to fix the CI fail you mentioned yesterday. I put in a change for the tests repo that it depends on. https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/83515216:27
noonedeadpunkNeilHanlon: and reverted change jrosser did to run_tests.sh16:28
noonedeadpunkthe idea is that when change merges to tests repo it will sync file it topic and produce bunch of these for each project16:29
noonedeadpunkso basically you should avoid patching run_tests.sh  in 835152 manually16:31
NeilHanlonoh, whoops16:31
spatelnoonedeadpunk that patch works no error now16:31
NeilHanlondidn't realize i did that16:31
noonedeadpunkwell, that what diff says :) https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/835152/2..316:33
opendevreviewNeil Hanlon proposed openstack/openstack-ansible-plugins master: Update ssh_keypairs role to fix module for Rocky Linux 8  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/83515216:33
NeilHanlonyou know, I saw that diff and figured it was wrong 😂16:33
OutBackDingo_okay, # openstack-ansible setup-infrastructure.yml --syntax-check fails with cant find inventory.ini, yet there nothing that explains how to generate one16:57
noonedeadpunkspatel: I have several new workarounds now :)17:01
spatel+117:02
spatelnoonedeadpunk let me know when its ready for testing17:31
noonedeadpunkit will be huge patch)18:02
spatelnoonedeadpunk very interesting.. 18:30
spatelwhy suddenly this issue showed up? 18:30
noonedeadpunkbut I spoilered it mostly)18:30
spateli am curious why you didn't see this when you nuke your rabbitMQ? 18:32
spatelor may be you never run --tags common_mq task 18:32
noonedeadpunkI don't nuke rabbit at the first place :)18:38
noonedeadpunkHappened once in last 5 years :)18:38
noonedeadpunk(after which I added common-mq)18:38
spateloh!! i do nuke time to time :)18:53
spatelmay be because of scaling issue. I have 300 compute nodes in each cloud and sometime its so chatty that OOM out and kill rabbit PID18:54
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Fix extra facts gathering with tags  https://review.opendev.org/c/openstack/openstack-ansible/+/83530818:56
noonedeadpunkspatel: ^18:56
spatel\o/18:57
noonedeadpunkI bet for OOM we had some adjustment of score for it... 18:57
noonedeadpunkMaybe mixing with galera...18:57
noonedeadpunkBut under opinion that for both18:57
spatelSend me what score and where did you set..18:58
spatelYes we have rabbit/mysql running on same box and time to time getting oom 18:58
opendevreviewDavid Moreau Simard proposed openstack/openstack-ansible master: DNM: Test ara 1.5.8rc1 with openstack-ansible  https://review.opendev.org/c/openstack/openstack-ansible/+/69663419:02
jrosserOutBackDingo_: it’s not necessary to use syntax check usually20:36
jrosseryou would not need an inventory.ini as OSA generates a dynamic inventory20:37

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