Tuesday, 2021-08-17

*** rpittau|afk is now known as rpittau07:54
DanGHey folks, is it a known problem that I am unable to use a cidr range on openstack instances that conflicts with the controller lxc cidr range (e.g. 10.0.3.0/24 by default)? for me this results in the instance being unable to access metadata or the internet but can be reached by SSH09:38
DK4anyway to find out why "/openstack/venvs/keystone-23.1.0.dev9/bin/keystone-manage db_sync check" returns 1? it does not seem to throw any error10:02
noonedeadpunkDanG: oh, that's interesting. eventually metadata is reached through 169.254.169.254 and then routed down the way. And this should not ever result internet access of the instances themselves10:48
noonedeadpunkbut how it's reached via ssh? from network namespace?10:49
noonedeadpunkDK4: iirc it should log output/result into journald10:51
noonedeadpunkBut I guess it would be `Your database is out of sync`10:51
noonedeadpunkbased on the exit code10:52
DanGI've used a bastion instance to reach them, my initial thought was a conflict within the controller as to where to route the reply 11:11
noonedeadpunkWhile it sounds really plausable I'm not sure how that is possible... As neutron part is placed all in net namespaces and shouldn't care about host networks12:12
noonedeadpunkMaybe things go wrong when neutron forwards request from ns to nova metadata... But I think it's using nova api endpoints rather then tenant vxlan network...12:14
spatelnoonedeadpunk are you around?13:01
noonedeadpunkyep13:15
spatelhttps://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/80399013:18
spatelcould you give me example what we can do to make it more better13:19
opendevreviewAndrew Bonney proposed openstack/openstack-ansible master: Add guide for distribution upgrades to docs  https://review.opendev.org/c/openstack/openstack-ansible/+/80487513:19
spatellets fix it now and not later 13:19
andrewbonneynoonedeadpunk / kleini: first draft of dist upgrade guide just uploaded https://review.opendev.org/c/openstack/openstack-ansible/+/80487513:20
noonedeadpunk٩(^ᴗ^)۶13:21
noonedeadpunkspatel: I will comment in patch13:21
spatelperfect! 13:22
spatelstupid question related apt-get, i am messing with my lab and running rabbitMQ playbook end stuck here - https://paste.opendev.org/show/808144/ 13:22
spatelany idea what apt-get trying to downgrade here?13:22
noonedeadpunkI think it's related to erlang-base-hipe package deprecation13:23
spatelhmm13:23
noonedeadpunkMaybe https://opendev.org/openstack/openstack-ansible-rabbitmq_server/commit/bf53f24dd40b9938ba3d10ba35cc87489d285980 fixes that?13:23
DanGnoonedeadpunk thanks for your thoughts! do you think this is likely to be a misconfiguration in our installation or a bug present which we should consequently advise folks to avoid that IP range in project networks?13:30
noonedeadpunklet me try to reproduce in my prod env  :)13:32
spatelnoonedeadpunk This patch additionally switches deployments to the 'erlang-base'13:32
spatelrather than 'erlang-base-hipe' package which appears to have been13:32
spateldiscontinued.13:32
noonedeadpunkspatel: you think it's bad idea?13:33
spatelhow do i check which repo apt-get is using?13:33
spateli am upgrading my openstack from 22.0.0.rc2 to 22.2.0 13:34
spatelcurious why i hit that error if we have that patch in place?13:34
noonedeadpunkwe just merged it13:34
noonedeadpunkit's not in 22.2.013:34
dmsimardnoonedeadpunk: welcome back o/13:34
noonedeadpunkthanks!13:34
noonedeadpunkI started missing stuff during vacation :)13:35
spatelcan we backport this patch otherwise it will break my production upgrade also :)13:35
noonedeadpunkandrewbonney: ^ ? I guess we can?13:37
andrewbonneyYeah, the only reason I hadn't got round to it was wondering if we should add a release note with backports? If you don't run it with 'rabbitmq_upgrade=True' it might break things13:37
noonedeadpunkwtf... https://docs.openstack.org/openstack-ansible/latest/13:38
noonedeadpunkI bet it's that locale stuff....13:39
noonedeadpunkSo, I mean https://docs.openstack.org/openstack-ansible/latest/en_GB/admin/upgrades/minor-upgrades.html is covering that?13:39
noonedeadpunkwe just should add there galera_upgrade as well...13:40
noonedeadpunkBut anyway - my point was that the way to get this code is minor upgrade or major upgrade. During both of them you're supposed to provide that flag?13:40
andrewbonneyThat's fine if you're happy with that. It's only really an issue if someone is already running latest rabbitmq as otherwise the role won't let you continue without providing that flag13:42
spatelandrewbonney should we add version condition to detect if its latest (skip) 13:43
andrewbonneyI was trying not to over-complicate the role with extra checks if possible13:44
noonedeadpunkIMO that's fine. Anytime you do upgrade - you run with that flag. And this instruction hasn't changed for years now.13:44
spateli am running with openstack-ansible -e rabbitmq_upgrade=true rabbitmq-install.yml13:48
spatelstill getting that error 13:48
spatellet me patch it by hand and see if it pass that step13:48
kleiniandrewbonney: great!13:53
andrewbonneyspatel: which operating system are you running, and have you customised the rabbitmq_install_method at all? I note that the rabbitmq role didn't change between 22.0.0.rc2 and 22.2.013:57
spatelubuntu 20.0413:57
spateli have applied that patch and still getting same error13:57
spatelno, i don't have anything in users_variables.yaml 13:58
andrewbonneyOk, 22.2.0 used distro install for rabbitmq on 20.04. That might be part of the issue. 22.3.0 attempted to conform this: https://github.com/openstack/openstack-ansible-rabbitmq_server/commit/bd355fc461b5adc82d2478c93e908b05a5edb84713:58
spatelrabbitmq-server                      3.9.3-113:58
andrewbonneyWould that patch plus the erlang one help?13:58
andrewbonneyAh 3.9.3 seems very new13:59
spateli don't know from where that came from 13:59
andrewbonneyYeah, the distro version for 20.04 is 3.8.214:00
spatelcurrently my rabbitmq cluster is down 14:00
spatelso do you think i should remove 3.9.3 ? and re-run playbook ?14:00
andrewbonneyWhat version is installed on your other two hosts?14:00
spatelah! on other nodes i have  3.8.14-114:03
spatelvery messed up stage14:03
spateli think solution would be remove rabbitmq-server on infra-1 and give it a try 14:04
andrewbonneyYeah, I'd remove the new version. If you were using the 22.3.0 release that ought to get the apt pins correct for 3.8.14-1 to match your other hosts. Hopefully with that plus the erlang patch you can get it going again14:05
spatelandrewbonney let me get this straight, do minor upgrade to 22.3.0 + apply your patch right?14:18
andrewbonneyYeah, either that or apply both patches to the rabbitmq role. There are only those two as part of the minor upgrade for that role14:19
spatelandrewbonney perfect!14:37
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-rabbitmq_server stable/wallaby: Fix erlang upgrades for rabbitmq external_repo installs  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/80486114:41
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-rabbitmq_server stable/victoria: Fix erlang upgrades for rabbitmq external_repo installs  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/80488414:46
noonedeadpunk#startmeeting openstack_ansible_meeting15:00
opendevmeetMeeting started Tue Aug 17 15:00:17 2021 UTC and is due to finish in 60 minutes.  The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot.15:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:00
opendevmeetThe meeting name has been set to 'openstack_ansible_meeting'15:00
noonedeadpunk#topic rollcall15:00
noonedeadpunko/15:02
noonedeadpunk#topic open discussion15:13
noonedeadpunkI don't have an agenda for today meeting15:13
noonedeadpunkThe main problem now is our docs that are broken :(15:13
spatelhow that happened overnight?15:14
spatelseems like web server issue which is not looking into correct directors15:17
noonedeadpunkit's issue that sphinx doesn't finish rendering and does not create index.html15:24
noonedeadpunkand that is because of docutils version15:24
spateli remembered we hit some kind of sphinx bug few week ago15:28
spatelnot sure if that is causing this issue15:28
mgariepyhttps://review.opendev.org/c/openstack/openstackdocstheme/+/80275815:38
mgariepythat's the issue with sphinx15:38
DanGhey noonedeadpunk thanks for looking into the issue I mentioned, were you able to reproduce it?15:40
noonedeadpunkmgariepy: that is stupid solution kind of...15:41
noonedeadpunkwe're dropping so much work for ID...15:42
mgariepyi do prefer mine.15:42
mgariepyof course haha15:42
mgariepyyou can add a comment !15:42
mgariepynot just for ID. for all lang that are not in the docutils list.15:43
spatelAny idea about this error? https://paste.opendev.org/show/808148/15:47
spatellook like i don't have nova-22.3.0 director root@os-infra-2-nova-api-container-93628d14:~# /openstack/venvs/nova-22.3.0/bin/nova-manage15:48
spatellet me debug and see15:49
spatelhttps://paste.opendev.org/show/808150/15:51
noonedeadpunkmgariepy: yeah, I think we need to push patches to docutils indeed.... But for OSA we can remove -W for now as quick fix15:52
noonedeadpunkthe problem with -W that all linting issues would be skipped :(15:55
mgariepyit would be nice to add all the lang to docutils but i think that removing -W for all the ""unssupported lang""15:57
mgariepywould be better for now.15:57
mgariepyor a way to filter out some warnings for generating errors on the sphinx side.15:59
noonedeadpunk#endmeeting16:04
opendevmeetMeeting ended Tue Aug 17 16:04:00 2021 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:04
opendevmeetMinutes:        https://meetings.opendev.org/meetings/openstack_ansible_meeting/2021/openstack_ansible_meeting.2021-08-17-15.00.html16:04
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/openstack_ansible_meeting/2021/openstack_ansible_meeting.2021-08-17-15.00.txt16:04
opendevmeetLog:            https://meetings.opendev.org/meetings/openstack_ansible_meeting/2021/openstack_ansible_meeting.2021-08-17-15.00.log.html16:04
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Fix doc upper constraints before docutils bump  https://review.opendev.org/c/openstack/openstack-ansible/+/80489116:18
noonedeadpunkDanG: for me it's working nicely https://paste.opendev.org/show/808151/16:21
noonedeadpunkI also assigned floating IP to the isntance and was able to ssh from public net16:21
noonedeadpunkbtw, if metadata wasn't working, you won't have SSH key on the machine after it is spawned16:22
noonedeadpunkbut dunno, maybe you placed ssh keys in the image or did some recovery process16:23
DanGahh thanks noonedeadpunk! yeah I used one instance which did have metadata access to make a snapshot and applied it to all so yeah ssh keys were baked in, we were making instances that were 10.0.[1,2,3,4].* so access was only appearing to fail sometimes, quite baffling until I worked out it was only on .3 16:27
*** rpittau is now known as rpittau|afk16:31
spatelandrewbonney i am seeing very odd issue with 22.3.0 tag specially with nova 16:51
spatelits trying to deploy wallaby version of nova_api schema and that is why its failing..16:51
spatelnoonedeadpunk this SHA doesn't exist look like - https://github.com/openstack/openstack-ansible/commit/378a4d834d760ad4f3b242e843bf517da0f95fca#diff-12f9c58e857caaeb47fc942e54562395816c1b3fccff80c1ffd9ceace759683bR19917:04
opendevreviewMerged openstack/openstack-ansible-galera_server master: Update galera to 10.5.12  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/80428417:10
opendevreviewMerged openstack/openstack-ansible master: Add shallow_since to parallel git clone  https://review.opendev.org/c/openstack/openstack-ansible/+/80214517:25
mgariepynoonedeadpunk, maybe until it's fixed we can push this one https://review.opendev.org/c/openstack/openstack-ansible/+/803635 ?17:41

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