Friday, 2022-04-29

dcapone2004In the process of catching up on upgrading some openstack environments and I looked to go from ussuri to victoria....everything went well except of course the nova_compute...I am getting a failed to connect to libvirt: authentication failure03:58
dcapone2004the nova_libvirt container is up and healthy...I ensured that the new libvirt_sasl password was added to passwords.yml by following procedure with kolla-genpwd and kolla-mergepw... I have also looked in the /etc/kolla/config/nova-compute/auth.conf generated file and I can confirm that the password matches the password from passwords.yml04:07
opendevreviewTim Beermann proposed openstack/kolla-ansible master: Removed sanity checks  https://review.opendev.org/c/openstack/kolla-ansible/+/83971604:41
fricklerdcapone2004: make sure your hostname matches what is recorded in DNS or /etc/hosts. if there is a mismatch /long vs. short) this issue may happen05:48
*** amoralej|off is now known as amoralej06:19
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: CI: cephadm: Add osds/pools/users in one run  https://review.opendev.org/c/openstack/kolla-ansible/+/83683806:54
opendevreviewTim Beermann proposed openstack/kolla-ansible master: Removed sanity checks  https://review.opendev.org/c/openstack/kolla-ansible/+/83971606:54
mnasiadkadcapone2004: are you sure you have fresh nova-compute and nova-libvirt container images? If they are from before that change, there are some packages missing in the images.07:41
oklhost_I had the opportunity to write an article on my company's tech blog and do some promotion for OpenStack & Kolla/Kolla-Ansible. :) https://www.otto.de/jobs/technology/techblog/artikel/the-open-source-private-cloud-in-the-otto-group.php07:54
fricklermoin oklhost_, nice article indeed, thanks for sharing08:07
oklhost_thanks :)08:08
frickleroklhost_: what's this "own code we have written", just things you committed upstream or do you have additional stuff that would be interesting?08:14
oklhost_frickler: Well, thats the adjutant-playbook we're still using, a registration app for customers, because we need some special tags at projects for our internal chargeback as well as a still ongoing project to calculate costs, but that isn't in production right now. Then there is a lot of other smaller scripts to deal with those german company's processes around everything. ;)08:21
oklhost_Also ci/cd pipelines are meant by "own code". Which is perhaps stacked a bit too high. ;)08:25
frickleroklhost_: ah, o.k., I was just wondering when you claim "we have open sourced everything" whether there's a list of repos related to that08:25
oklhost_frickler: that was related to the adjutant-playbook. I've written it a bit more clear, but the company communication shortened the article a lot.08:27
oklhost_brb08:28
frickleroklhost_: fair enough, I didn't want to complain, just find out if I'd missed something :)08:30
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: CI: cephadm: Add osds/pools/users in one run  https://review.opendev.org/c/openstack/kolla-ansible/+/83683808:42
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: CI: cephadm: Add osds/pools/users in one run  https://review.opendev.org/c/openstack/kolla-ansible/+/83683808:48
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: CI: cephadm: Add osds/pools/users in one run  https://review.opendev.org/c/openstack/kolla-ansible/+/83683809:09
oklhost_frickler: np, I know, I just want be as open as possible ;)09:15
opendevreviewMerged openstack/kayobe stable/xena: Bump stackhpc.drac role  https://review.opendev.org/c/openstack/kayobe/+/83965209:17
opendevreviewMerged openstack/kayobe stable/victoria: Cleanup old and deprecated Swift configuration  https://review.opendev.org/c/openstack/kayobe/+/83903909:17
opendevreviewMerged openstack/kayobe master: Use rsync to update kayobe-config  https://review.opendev.org/c/openstack/kayobe/+/83948209:17
opendevreviewMerged openstack/kayobe master: CI: Add some more irrelevant files to zuul jobs  https://review.opendev.org/c/openstack/kayobe/+/83783609:17
opendevreviewMerged openstack/kayobe master: Fix Bifrost inspection through DHCP-relay  https://review.opendev.org/c/openstack/kayobe/+/83420409:17
kevkoyoctozepto: hi, what about my answer to your comment :P ? 09:25
kevko*reply09:25
opendevreviewMaksim Malchuk proposed openstack/kayobe stable/yoga: Fix Bifrost inspection through DHCP-relay  https://review.opendev.org/c/openstack/kayobe/+/83988309:33
opendevreviewMaksim Malchuk proposed openstack/kayobe stable/xena: Fix Bifrost inspection through DHCP-relay  https://review.opendev.org/c/openstack/kayobe/+/83988409:34
opendevreviewMaksim Malchuk proposed openstack/kayobe stable/wallaby: Fix Bifrost inspection through DHCP-relay  https://review.opendev.org/c/openstack/kayobe/+/83988509:34
opendevreviewMerged openstack/kolla-ansible stable/ussuri: nova: use any_errors_fatal for once-per-cell tasks  https://review.opendev.org/c/openstack/kolla-ansible/+/83917609:40
opendevreviewMerged openstack/kolla-ansible stable/victoria: nova: use any_errors_fatal for once-per-cell tasks  https://review.opendev.org/c/openstack/kolla-ansible/+/83917509:40
opendevreviewMerged openstack/kolla-ansible stable/wallaby: nova: use any_errors_fatal for once-per-cell tasks  https://review.opendev.org/c/openstack/kolla-ansible/+/83917409:41
opendevreviewMerged openstack/kolla-ansible stable/xena: nova: use any_errors_fatal for once-per-cell tasks  https://review.opendev.org/c/openstack/kolla-ansible/+/83917309:44
hrwmorning09:45
kevkomorning \o/09:51
opendevreviewPierre Riteau proposed openstack/kayobe master: Use openstack-ci-mirrors in ipa image build  https://review.opendev.org/c/openstack/kayobe/+/82167509:51
opendevreviewMerged openstack/kolla-ansible stable/yoga: nova: use any_errors_fatal for once-per-cell tasks  https://review.opendev.org/c/openstack/kolla-ansible/+/83917209:56
opendevreviewMerged openstack/kolla-ansible stable/yoga: nova: improve compute service registration failure handling  https://review.opendev.org/c/openstack/kolla-ansible/+/83917709:56
opendevreviewMerged openstack/kolla-ansible stable/xena: nova: improve compute service registration failure handling  https://review.opendev.org/c/openstack/kolla-ansible/+/83933109:58
opendevreviewMerged openstack/kolla-ansible stable/wallaby: nova: improve compute service registration failure handling  https://review.opendev.org/c/openstack/kolla-ansible/+/83917809:58
opendevreviewMerged openstack/kolla-ansible stable/victoria: nova: improve compute service registration failure handling  https://review.opendev.org/c/openstack/kolla-ansible/+/83917909:58
opendevreviewMerged openstack/kolla-ansible stable/ussuri: nova: improve compute service registration failure handling  https://review.opendev.org/c/openstack/kolla-ansible/+/83918009:58
opendevreviewMerged openstack/kolla master: Use rsync to update kayobe-config  https://review.opendev.org/c/openstack/kolla/+/83949609:58
opendevreviewMerged openstack/kayobe master: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83755310:00
opendevreviewPierre Riteau proposed openstack/kayobe stable/yoga: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974410:01
opendevreviewPierre Riteau proposed openstack/kayobe stable/xena: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974510:01
opendevreviewPierre Riteau proposed openstack/kayobe stable/wallaby: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974610:01
opendevreviewPierre Riteau proposed openstack/kayobe stable/victoria: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974710:02
opendevreviewPierre Riteau proposed openstack/kayobe stable/ussuri: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974810:02
opendevreviewPierre Riteau proposed openstack/kayobe stable/train: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974910:02
opendevreviewMerged openstack/kolla master: Add multipath to cinder-volume  https://review.opendev.org/c/openstack/kolla/+/83948110:09
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: CI: cephadm: Add osds/pools/users in one run  https://review.opendev.org/c/openstack/kolla-ansible/+/83683810:51
mgoddardfg11:08
SvenKieskeis it okay to promote a free barcamp/meetup here, organized by my employer?11:48
dcapone2004frickler: dont think dns is the issue ss all other tooling works12:00
fricklerdcapone2004: its not about dns per se, the hostname is used as part of the username, let me dig the command to check this12:01
dcapone2004mnasiadka:  i ran a pull before upgrade so they should be the latest victoria...also the container names all updated from ussuri to victoria12:01
opendevreviewMerged openstack/kayobe stable/victoria: Bump stackhpc.drac role  https://review.opendev.org/c/openstack/kayobe/+/83970012:01
dcapone2004i see....the hostnames are all in /etc/hosts as well12:02
fricklerdcapone2004: run "sasldblistusers2" in the nova-libvirt container and compare to "hostname -f"12:02
dcapone2004but they are not fqdn ... and they only the hostnames with the individual server ips, nothing for the internal vip 12:03
dcapone2004ok, i will check that in a little bit...just started a reconfigure using source vs binary12:04
dcapone2004so think the source of the issue is found ... running the command yields "listusers failed"12:07
dcapone2004same response running as root or nova within the libvirt container12:10
opendevreviewRadosÅ‚aw Piliszek proposed openstack/kolla-ansible master: Set any_error_fatal true for gather-facts  https://review.opendev.org/c/openstack/kolla-ansible/+/80517412:17
opendevreviewRadosÅ‚aw Piliszek proposed openstack/kolla-ansible master: Allow setting any_errors_fatal true for gather-facts  https://review.opendev.org/c/openstack/kolla-ansible/+/80517412:17
dcapone2004ok after some conf file digging....i ran sasldblistusers2 - /etc/libvirt/passwd.db and that returned a user12:17
dcapone2004the hostname matched and matches with each host the container is deployed on.....HOWEVER, the password in the file is showing" userPassword" instead of the generated pw in passwords.yml12:19
opendevreviewMerged openstack/kayobe stable/wallaby: Bump stackhpc.drac role  https://review.opendev.org/c/openstack/kayobe/+/83969912:39
opendevreviewMerged openstack/kolla-ansible master: Skip /etc/kolla/globals.d on host cleanup  https://review.opendev.org/c/openstack/kolla-ansible/+/83976912:43
*** amoralej is now known as amoralej|lunch12:48
opendevreviewSven Kieske proposed openstack/kolla-ansible stable/ussuri: fix missing lang env in curator crontab  https://review.opendev.org/c/openstack/kolla-ansible/+/83991212:50
dcapone2004ok, so just reviewed sasldblistusers2 and learned that userPassword is always returned so that the PW is not actually displayed ... so that isn't the issue either13:08
dcapone2004frickler: libvirt logs are showing "internal error: cannot list SASL mechanisms" ... any ideas on what might cause this?13:14
fricklerdcapone2004: just guessing, it might be caused by some pkg missing in the container. which os are you using?13:15
frickleronce mgoddard has finished switching into foreground, they might know more ;)13:16
mnasiadkahrw, frickler, yoctozepto, mgoddard: I'm off whole next week13:18
hrwok13:19
dcapone2004centos 8....I'm working through the upgrades to get to upgrade everything to centos stream13:20
fricklerdcapone2004: maybe you'll want to disable libvirt sasl then until you finish the upgrade13:22
fricklermnasiadka: have fun, hope it's for recreation instead of "only" recovery13:23
opendevreviewVerification of a change to openstack/kayobe stable/xena failed: Fix Bifrost inspection through DHCP-relay  https://review.opendev.org/c/openstack/kayobe/+/83988413:23
dcapone2004frickler:  do you know off hand where that option is?  I must have misread the release notes for victoria as I thought SASL became required or I would have done that :-)13:24
fricklerdcapone2004: "libvirt_enable_sasl: false" in /etc/kolla/globals.yml or whereever you have your kolla config13:26
watzSvenKieske: i may be interested13:26
dcapone2004frickler: thanks13:28
*** amoralej|lunch is now known as amoralej13:32
kevkoguys, I was trying upgrade ussuri on ubuntu 18.04 to ubuntu 20.04 for our customer on my testing env and I met big problem :( ..missing capability ss after upgrade in libvirt ..so live migrate not working ..and i have to reboot instance to fix this issue ...13:35
kevkocat /proc/cpuinfo flags: missing ss ..so there is incompatibility and live-migration will fail .. this commit https://github.com/torvalds/linux/commit/1e03bff3600101bd9158d005e4313132e55bdec813:36
kevkoI hope they will have CPU which is not affected ...but I am just curious ..how can be this workarounded ? 13:37
kevkoyoctozepto, hrw, frickler ^^ ? 13:37
dcapone2004frickler: the libvirt_enable_sasl: false option isn't listed int he globals.yml with KA victoria package13:53
dcapone2004frickler:  probably why I couldn't find it and assumed SASL was required, can I just add that line anywhere in globals.yml?13:53
mnasiadkadcapone2004: yes you can13:58
dcapone2004thx14:01
fricklerhrw: just a weird friday afternoon idea: maybe as intermediate solution we want to do split images? c9s/jammy for openstack and c8s/focal for other stuff that still has open external deps?14:14
*** amoralej is now known as amoralej|off14:24
dcapone2004since I am here and I have some attention....upgrade procedure to move to CentOS Stream from CentOS 8....I obviously am in the process of moving to victoria, 8 and stream are supported...so next step is updating the containers to use Stream and then updating the host OSes to Stream, then upgrading to Wallaby and beyond, correct?14:31
SvenKieskefrickler: regarding split images: from an operational point of view I'd like to avoid that: building twice the images, checking CVEs etc.. I can understand the desire though, but it would add twice the amount of work for some things.14:41
SvenKieskewatz: I sent you a private message about the event :)14:43
opendevreviewMerged openstack/kayobe stable/yoga: Fix Bifrost inspection through DHCP-relay  https://review.opendev.org/c/openstack/kayobe/+/83988314:54
opendevreviewMerged openstack/kolla-ansible master: [bifrost] add bifrost_deploy_verbosity parameter  https://review.opendev.org/c/openstack/kolla-ansible/+/83913314:57
dcapone2004cd /etc/kolla15:16
hrwfrickler: prefer not to tbh15:20
hrwdcapone2004: looks sane15:21
dcapone2004hrw:  set openstack_tag_suffix: "-centos8s" in globals.yml and run reconfigure to convert to Stream containers...no other changes needed?15:31
hrwdcapone2004: iirc. but I never did that15:31
* hrw -> weekend15:31
opendevreviewMark Goddard proposed openstack/kayobe master: ironic: Set MTU on provisioning and cleaning Neutron networks  https://review.opendev.org/c/openstack/kayobe/+/83996516:15
opendevreviewVladislav Belogrudov proposed openstack/kolla-ansible stable/yoga: Add doc fix for all-in-one in venv  https://review.opendev.org/c/openstack/kolla-ansible/+/83991616:20
opendevreviewVladislav Belogrudov proposed openstack/kolla-ansible stable/yoga: Skip /etc/kolla/globals.d on host cleanup  https://review.opendev.org/c/openstack/kolla-ansible/+/83991716:22
opendevreviewVladislav Belogrudov proposed openstack/kolla stable/yoga: Add multipath to cinder-volume  https://review.opendev.org/c/openstack/kolla/+/83991816:24
opendevreviewVladislav Belogrudov proposed openstack/kolla stable/yoga: Add multipath to cinder-volume  https://review.opendev.org/c/openstack/kolla/+/83991816:25
opendevreviewMerged openstack/kayobe stable/yoga: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974416:46
opendevreviewMerged openstack/kayobe stable/xena: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974516:46
opendevreviewMerged openstack/kayobe stable/wallaby: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974616:46
opendevreviewMerged openstack/kayobe stable/victoria: kolla_passwords: add no_log for password overrides  https://review.opendev.org/c/openstack/kayobe/+/83974716:46
greatgatsby_Hi.  Have install openstack with kolla-ansible.  Just starting to get octavia setup.  Seems by default a vxlan network will be created for the management network.  Is this preferred, or should I manually configure a vlan provider network?17:50
johnsomNo load balanced traffic crosses the management network, it's just command/control/stats.17:57
opendevreviewMerged openstack/kayobe stable/xena: Fix Bifrost inspection through DHCP-relay  https://review.opendev.org/c/openstack/kayobe/+/83988418:04
greatgatsby_johnsom, thanks for the reply.  Apologies, I'm still quite new to openstack and getting a bit lost in the kolla-ansible octavia docs, where they say "Typically a VLAN provider network is used".  18:05
johnsomI am not a kolla expert either, but I can talk to Octavia. In general, starting out I would stick to the defaults in kolla to keep it simple.18:08
greatgatsby_great, thanks18:12
opendevreviewJames Kirsch proposed openstack/kolla-ansible master: Add support for LetsEncrypt-managed certs  https://review.opendev.org/c/openstack/kolla-ansible/+/74134018:29
jamesbensonoklhost_: We open sources how we deploy openstack at our university as well.  We have our own gitlab runner locally, so we literally just run a job ands it deploys here.  https://gitlab.com/utsa-ics/osias21:33
jamesbensonThis includes installing a fresh OS using MaaS21:33

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