Tuesday, 2022-08-23

*** ysandeep|out is now known as ysandeep05:04
*** ysandeep is now known as ysandeep|afk07:34
MouaaHi guys, We are trying to use octavia on OSA train in distro install method. We notice a malfunction during the openstack-ansible playbooks/os-octavia-install.yml phase, we systematically come across an error indicating "Cloud default was not found." regarding the creation of the octavia user.07:55
MouaaHas anyone come across this problem before us?07:55
MouaaSee: https://paste.opendev.org/show/bIFYLaggZCDkmttIu8ep/07:55
jrosser_Mouaa: is this a new deployment you are doing?08:24
Mouaa@jrosser_ Attempt to add Octavia (tested on iso-conf production dev platform) on osa deployment in train version based on Ubuntu 18.04 in distro. So no, this is not a new OSA deployment08:32
jrosser_"in distro" ?08:33
Mouaaour version of OSA has been in production for a few years. Unfortunately in distro mode yes08:34
jrosser_oh that is unfortunate08:36
MouaaAlready discussed here even with several of you, I understood that it is not ideal but we cannot reinstall everything in source method at the moment (daily customers in thousands...)08:39
jrosser_well fundamentally your issue is caused by `"msg": "Cloud default was not found."`08:44
jrosser_that is going to need some more debugging08:48
jrosser_seeing the output from `TASK [os_octavia : Add service users]` with -vvv or more verbose would be helpful08:49
MouaaI know... but var "cloud: default" is used everywhere without problems, cf comparing to heat for example08:50
jrosser_does it run against the utility container?08:50
jrosser_is the python interpreter correct to pick up where the shade libs are installed?08:50
jrosser_and so on08:51
jrosser_train release allowed a mixture of python2 and python3, is that working properly for octavia?08:51
jrosser_was the octavia role ever tested on the train branch for distro installations?08:52
jrosser_here is the last patch we merged to the stable/train branch for os_octavia https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/69036808:53
jrosser_i don't see any distro jobs there08:53
jrosser_if you have things working for heat then i would perhaps suggest comparing the verbose ansible output for heat against octavia so you can see if there are any differences08:55
MouaaThe Release note shown support for distro method normally: https://github.com/openstack/openstack-ansible-os_octavia/blob/stable/train/releasenotes/notes/openstack-distribution-packages-bc0d1d606a362ffc.yaml08:57
MouaaI will try again to deploy octavia with more verbosity on tasks and paste the output to paste.opendev.org09:01
damiandabrowskiMouaa:  i'd check if you have valid /root/.config/openstack/clouds.yaml on your octavia_service_setup_host(defaults to localhost)10:31
damiandabrowskifor example, i remember the situation when this file was overridden by bifrost when I wanted to install it on the same host10:32
MouaaActually for testing, I just recreated the containers without replaying the os-octavia-install.yml playbook and the containers do not contain this file at this point10:42
damiandabrowskicontainers shouldn't contain this file, as I mentioned above, by default it should be present on deploy host10:43
damiandabrowski(service setup block is delegated there: https://opendev.org/openstack/openstack-ansible-os_octavia/src/branch/stable/train/tasks/service_setup.yml#L30 )10:44
*** ysandeep|afk is now known as ysandeep10:46
Mouaa@damiandabrowski : this file doesn't exist on our deployer...10:47
jrosser_damiandabrowski: wouldnt the service setup host usually be the utility container?10:55
damiandabrowskijrosser_: nowadays yes, but on train i believe it was localhost11:02
damiandabrowskilet me double check it11:03
damiandabrowskiahh you are right, it's "{{ groups['utility_all'][0] }}"11:05
damiandabrowskii just checked master branch...11:07
damiandabrowskiso, let's start from the beginning11:08
jrosser_Mouaa: says that the deployment has worked for heat, for example11:08
damiandabrowskifor stable/train i see this in octavia playbook: `octavia_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}"`11:08
jrosser_but octavia fails on setting up the service user with `"msg": "Cloud default was not found."`11:08
jrosser_most obvious thing is to check that the task is delegated to where we expect11:09
jrosser_but there is no confirmation of that yet11:09
damiandabrowskiomg, i just overcomplicated things for you guys...sorry, jrosser_ is right11:09
*** dviroel is now known as dviroel}rover11:26
*** dviroel}rover is now known as dviroel|rover11:26
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Bind bmaas network to where ironic_api is deployed  https://review.opendev.org/c/openstack/openstack-ansible/+/85417311:39
jrosser_jamesdenton: i started with a fresh AIO for ironic with SCENARIO=aio_lxc_ironic, theres no mention of the bmaas network in container networks for aio1 without that patch ^^11:40
Mouaa@damiandabrowski, FYI, the file exist on utility container and seems no overrided (OSA install date)11:46
jrosser_Mouaa: we still don't know if the failing task was delegated to the utility container though :(11:47
jamesdentonjrosser_ great! i will test here, too12:30
jrosser_jamesdenton: i'm wondering what to do next, in my actual deployment we have ironic_api in a container, not metal12:31
jrosser_but thats now how aio_lxc_ironic ends up being12:31
jrosser_*not12:31
jamesdentonwell, you could always migrate it out? :D12:32
jrosser_of course :)12:32
jrosser_i'm not sure i follow why the AIO is like it is, other than maybe "the networking is all a bit hard here, make it metal so it becomes easy"12:33
jamesdentonwell, the env.d file makes it seem like ironic_api has been on metal for a while now, not just limited to aio, no?12:33
jrosser_indeed12:33
jamesdentonand yes, maybe that was the original intend12:33
jamesdenton*intent12:34
jamesdentona reluctance to add YetAnotherBridgeâ„¢12:34
jrosser_it's quite challenging to make the callback from the node being provisioned to the ironic API work properly too12:34
jrosser_as that would traditionally be the VIP12:34
jamesdentonit can be, yes. i avoid all of that by having the provisioning network be a routed network12:35
jamesdentoni don't really know what the 'reference arch' is there, though12:35
jrosser_no, it's a bit unclear12:35
jrosser_i get the feeling in a lot of these higher level services theres a bunch of handwaving and "everything just routes to everything else"12:36
jamesdentonthere is a bit of that12:36
jrosser_having said that we have made it work entirely in LXC with a non-routed bmaas network12:36
jrosser_you can configure each conductor with a unique callback ip (it's own) on the bmaas network12:37
jrosser_and the need to contact the VIP goes away completely12:37
jamesdentonwhich is OK if your provisioning network can reach bmaas12:37
jrosser_right - and thats another place where we are not very clear on the reference architecture12:37
jrosser_there are a lot of options for separate cleaning/whatever networks12:38
jrosser_becasue in my mind provosioning network == bmaas but maybe i have not understood enough12:38
jamesdentonin any case, the provisioning network needs to be a neutron network, and maybe where bmaas gets tricky is you also have neutron dhcp agent and other things that need to connect to it. 12:38
jrosser_yes thats what we do, br-bmaas is a neutron network with neutron dhcp12:39
jrosser_but also goes to ironic-api containers on eth1512:39
jamesdentonyou've got provisioning, cleaning, and inspection networks, which can all be the same... or different. not to mention the tenant network, which depending on what plugin you use, can be different from provisioning, too. in the generic case it's all likely one flat network12:39
jamesdentonthe ironic-api container that may or may not exist? :D12:39
jrosser_indeed - we have ironic multitenancy setup so the tenant network is separate12:40
jamesdentonbut what is listening in ironic-api that's needed here?12:40
jrosser_callback from IPA i think?12:40
jamesdentonhow are you changing the switchport vlan to support different networks?12:40
jrosser_networking-generic-switch12:41
jamesdentonthat callback might be to the VIP? i don't recall12:41
jamesdentonahh right on. you guys are using that?12:41
jrosser_we are only as far as having this in the lab to work out wtf is going on with it all - hence all the patches for LXC stuff recently12:41
jrosser_i think we broke a bunch of stuff moving neutron api to uwsgi though12:42
jamesdentoni'm on 25.0.0 and it's still OK12:42
jrosser_my colleague was making a LP bug, i'll see if we submitted it yet12:49
jrosser_short story is that we have many potential .conf files for the various neutron services which all need to be inserted into the service unit, more get added as you enable more neutron plugins12:50
jamesdentonFYI i think you have a duplicate here? https://review.opendev.org/c/openstack/openstack-ansible/+/85417312:53
jamesdentonhttps://review.opendev.org/c/openstack/openstack-ansible/+/85217412:54
jrosser_argh12:55
jamesdentondamiandabrowski Just hit rabbitmq install issue, too. Looks like version may need to be bumped to 1:24.1.4-1? ./roles/rabbitmq_server/vars/debian.yml:38:_rabbitmq_erlang_version_spec: "{{ (rabbitmq_install_method == 'external_repo') | ternary('1:24.1.3-1', '1:22.*') }}"14:19
damiandabrowskiyeah i was thinking about it, but it would leave all other Xena tags broken :/ Today I asked rabbitMQ team on slack why this version disappeared, but didn't get any reply yet14:20
jamesdentontruuuue.14:21
jamesdentonyou're so considerate :)14:21
damiandabrowskihaha :D unfortunately, I'm a bit afraid that at the end of the day, bumping erlan version will be our only option... :D 14:23
*** ysandeep is now known as ysandeep|dinner14:36
jrosser_damiandabrowski: is it still in the rabbitmq repo, or is it just cloudsmith that removed it?14:44
damiandabrowskii'm not sure if I understood You correctly. cloudsmith is an official rabbitmq repo. RabbitMQ team manages it, cloudsmith provides only hosting service14:45
jrosser_ah right, i wasnt sure how that worked14:47
jrosser_this also is not the first time14:47
jrosser_jamesdenton: the ironic AIO is just fubar :(14:48
damiandabrowskiPS. I just sent an email on their mailing list, let's hope we'll get an answer14:48
damiandabrowskihttps://groups.google.com/g/rabbitmq-users/c/olys-t2N5-Y14:48
jrosser_nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)14:48
*** dviroel|rover is now known as dviroel|rover|lunch14:59
damiandabrowski#startmeeting openstack_ansible_meeting15:00
opendevmeetMeeting started Tue Aug 23 15:00:38 2022 UTC and is due to finish in 60 minutes.  The chair is damiandabrowski. 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
damiandabrowskiok, i don't have required privileges or what? :D 15:01
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Bind http and tftp services to the bmaas network  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/85212215:01
damiandabrowskiah, now it works15:02
damiandabrowski#topic rollcall15:02
jrosser_o/ hello15:02
damiandabrowskihey everyone!15:02
damiandabrowski#topic bug triage15:05
damiandabrowskilooks like noonedeadpunk is keeping and eye on bugs while he's on vacation, but literally an hour ago a new bug has arrived15:07
damiandabrowski#link https://bugs.launchpad.net/openstack-ansible/+bug/198740515:07
damiandabrowskihave you ever seen something similar?15:07
jrosser_yes this is from my team15:07
jrosser_switching neutron api to uwsgi has broken the way the config files are appended to the ExecStarts line15:08
jrosser_depending on which neutron plugins you have there may need to be additional config files referenced15:08
damiandabrowskiahh ok, so perhaps we should patch either neutron or uwsgi role? 15:16
damiandabrowskibtw. do you remember the reason why we moved things behind uwsgi?15:17
jrosser_i've not had chance to look at it yet15:17
jrosser_i guess that by convention all of the API services are uwsgi, and neutron was one of the last15:17
jrosser_though it seems we did not account for there being >=1 config file sometimes15:17
damiandabrowskilet's take glance as an example, uwsgi only causes troubles there15:18
damiandabrowskisome time ago i was thinking about disabling uwsgi for glance by default. Do you think it may be a good idea?15:18
damiandabrowskihttps://docs.openstack.org/glance/latest/admin/apache-httpd.html15:19
damiandabrowski"Glance project team recommends that Glance be run in its normal standalone configuration, particularly in production environments."15:19
damiandabrowski(i just realized that i got off topic a bit)15:21
anskiyI've also sent a patch to optionally disable uwsgi for mistral-api some time ago.15:33
damiandabrowskiah, so there may be more services with problems similar to glance... thanks for the info15:35
damiandabrowski#info on next meeting it may be worth to discuss what services should have uwsgi disabled by default15:36
damiandabrowski#topic office hours15:36
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Ironic role should pick the address services bind to  https://review.opendev.org/c/openstack/openstack-ansible/+/85423115:38
damiandabrowskias you may now, Xena branch has issues with rabbitmq repo because pinned erlang version disappeared. I posted a question about that on their mailing list.15:38
damiandabrowski#link https://groups.google.com/g/rabbitmq-users/c/olys-t2N5-Y/m/gCuZ8gDCAwAJ15:38
jrosser_afaik the issue with glance is that the code is not written with uwsgi in mind15:38
damiandabrowskido we have any other topics to discuss?15:38
damiandabrowskijrosser_: exactly ;)15:39
jrosser_but that doesnt automatically mean that the rest suffer the same15:39
damiandabrowskiof course, i'm not trying to disable uwsgi for all services :D 15:40
opendevreviewJean-Philippe Evrard proposed openstack/openstack-ansible master: Declaratively set host aggregates  https://review.opendev.org/c/openstack/openstack-ansible/+/85423515:46
opendevreviewDamian DÄ…browski proposed openstack/openstack-ansible master: Install rally only on first utility container  https://review.opendev.org/c/openstack/openstack-ansible/+/85423715:49
damiandabrowski^ yesterday i've found a minor issue with rally15:50
damiandabrowski#endmeeting15:59
opendevmeetMeeting ended Tue Aug 23 15:59:45 2022 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:59
opendevmeetMinutes:        https://meetings.opendev.org/meetings/openstack_ansible_meeting/2022/openstack_ansible_meeting.2022-08-23-15.00.html15:59
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/openstack_ansible_meeting/2022/openstack_ansible_meeting.2022-08-23-15.00.txt15:59
opendevmeetLog:            https://meetings.opendev.org/meetings/openstack_ansible_meeting/2022/openstack_ansible_meeting.2022-08-23-15.00.log.html15:59
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Ensure ironic inspector dhcp server listen address is defined  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/85217316:07
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Bind http and tftp services to the bmaas network  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/85212216:08
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_ironic master: Ensure ironic inspector dhcp server listen address is defined  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/85217316:08
jrosser_jamesdenton: i got an ironic LXC AIO to deploy without error using all of https://review.opendev.org/q/topic:osa-ironic-tidy16:14
jrosser_there was an error in this https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/85212216:14
jamesdentonthanks, i will check that out. i had both of mine fail16:14
jrosser_and then removing some hardwired address here https://review.opendev.org/c/openstack/openstack-ansible/+/85423116:14
jrosser_so thats just as it was with ironic_api on metal and ironic-inspector in LXC16:15
jrosser_i think perhaps it's worth a discussion at some point if we have the right structure here, and maybe some extra docs needed16:16
jamesdentonagreed. inspector also has two different working models, with one being more janky than the other16:16
jamesdentons/janky/legacy16:17
jrosser_right - we should double check that there are "sensible defaults"16:17
jrosser_i notice also we are running simultaneously nginx + apache again here16:18
jrosser_nginx in ironic and apache in keystone/horizon16:18
jrosser_also nginx in the repo container16:18
jamesdentonthunderdome16:18
jrosser_this could do with a clean up to be all apache16:18
jamesdentonif that's the preference, sure16:19
jrosser_well, it was always switchable in keystone depending if you were doing federation or not16:19
jrosser_and that made even less sense16:19
jrosser_so keystone has become apache only to cover federaation and not-federation with an identical setup16:20
jamesdentongotcha16:20
jamesdentontime to rebuild these vms16:21
*** dviroel|rover|lunch is now known as dviroel|rover16:27
*** ysandeep|dinner is now known as ysandeep|out16:27
opendevreviewMerged openstack/openstack-ansible master: Attach bmaas network to ironic_api containers  https://review.opendev.org/c/openstack/openstack-ansible/+/85217418:26
*** dviroel|rover is now known as dviroel|out22:31

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