Tuesday, 2024-08-13

opendevreviewBjoern Teipel proposed openstack/openstack-ansible master: Allowing ansible collection install behind proxies  https://review.opendev.org/c/openstack/openstack-ansible/+/92617004:35
jrossermorning07:29
gillesMoHello, does someone manage to upgrade to Xena, after the OSSA-2023-003 security patch that force user service token ? OSA implements it only in Yoga08:18
grauzikasHello, now im trying to make OSA install and configure corectly neutron with OVN, but there is a lot of not clear parts. 1: in mailing i have found that i should not provide network network_hosts, but if do that seems neutron has a lot of errors. 2: if i provide network_hosts neutron works, and i can create virtual routers, but seems port to exit port allways down and i cant make it to work. Also i have found on  08:57
grauzikas/opt/openstack-ansible/etc/netplan/01-static.yml that there is configured br-ex and br-vlan may be inside all logic there is difference betwean br-ex and vlanre public ip on instance. Im not sure, but it may be my issue because im using for geneve and ovn same nic, but different vlans. My netplan example: https://paste.opendev.org/show/bYGFShhfWTc43apABlP9/ Because im near br-vlan in openstack_user_config providing 08:57
grauzikasnetwork_interface it should automatically append it. Im thinking that my issue could be: incorrect netplan and i should prepare br-vlan some how, but unclear till what level; may be im missing in user_variables some kind of bindings; incorrect openstack_user_config or some bindings. my last config what i tryed: https://paste.openstack.org/show/bPo83G762HGGfV4h77Cr/ also i have found not old conversation what was not 08:57
grauzikasfinished regarding same confusions: https://answers.launchpad.net/openstack-ansible/+question/709484 they tell that network_hosts should not be used in ovn scenario. May be some one could bring me on road and help to figure out where is potential issue and where my config is wrong? Also i have found on  /opt/openstack-ansible/etc/netplan/01-static.yml that there is configured br-ex and br-vlan may be inside all logic 08:57
grauzikasthere is difference betwean br-ex and vlan?08:57
grauzikaslong text was thinking will be shorter :D08:58
grauzikashuh…. all text structured wrong…. my irc client is terrible09:03
grauzikasshould be better https://paste.openstack.org/show/bjiESyt0q7MuAsLHSWax/09:11
jrossergrauzikas: there is a lot of incorrect information that you will find with google, please ignore it :)10:31
jrosserthis is because we had very very early support for OVN in an experimental way, and a bunch of blog posts got written about that10:31
jrosserthen there was a re-engineering of a lot of it based on that experience10:32
jrosseri would start with the current all-in-one as a reference to show you how to connect things up10:33
grauzikasprobably will need to do that… but dont want to destroy current infrastructure, so probably will launch one more server10:35
jrossergillesMo: the Xena branch is now in the unmaintaned status10:40
jrosseryou would be able to fork the affected repos backporting the following patches https://review.opendev.org/q/topic:%22osa/OSSA-2023-003%22, and refer to them in your config10:41
jrosserand the same process of forking/patching the nova/cinder/glance services https://security.openstack.org/ossa/OSSA-2023-003.html10:42
jrosserif you want to run any of the unreleased/<...> branches I would strongly recommend becoming actively involved with maintaining those branches10:42
grauzikashttps://paste.openstack.org/show/bLsr6JC9bEEhzCEFdhls/ as i understand {{ _service_setup_host }} this means issue in passing variable or undefined variable?10:45
grauzikasor this is normal :)10:46
jrosseri think that is normal when the destination host is a templated variable11:36
jrosseryou can see all of how that works here https://codesearch.opendev.org/?q=_service_setup_host11:36
gillesMojrosser: I know, I handle that just ignoring the check, it's the last task of the last includ in the os_nova ansible role.12:00
gillesMojrosser: I don't really understand how the unmaintained branch works, and specifically the X-em and X-eom tags. If we commit something to the unmaintened branch, is there something that recreate the tags ? Or is the commiter responsible of ?12:05
jrossergillesMo: there are no more releases on unmaintained branches12:15
jrosserthere is some info in the openstack policy documentation here https://docs.openstack.org/project-team-guide/stable-branches.html12:17
jrosserif you want to use the unmainained branch in a production environment then it's probably best to curate the ansible-role-requirements and openstack service SHA yourself12:32
gillesMojrosser: It's not really for production, but I need to upgrade to every release my old Wallaby cluster, to bring it to a supported version. So I can tolerate workaround. Thanks !12:59
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Simplify handling of 'telemetry' scenario in CI tests  https://review.opendev.org/c/openstack/openstack-ansible/+/92620613:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Add vars to jobs to compute the scenario  https://review.opendev.org/c/openstack/openstack-ansible/+/92621414:21
noonedeadpunkHey, I'm barely around today so can't host the meeting 14:56
noonedeadpunkSorry for the late notice14:57
jrosserno problem14:57
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Add vars to jobs to compute the scenario  https://review.opendev.org/c/openstack/openstack-ansible/+/92621415:08
plattaI finally got past the strange behavior with the inability to connect from the utility container to mariadb through haproxy. It was the my.cnf file inside the galera container, the proxy-protocol-networks setting.21:09
plattaWhen running the AIO config, that setting includes 172.29.236.100, the address of br-mgmt, marked as is_management_address in the user config. This is the IP that connections come from when connecting through haproxy.21:10
plattaIn the config I was trying to get working, the ip of br-vlan (in my case the IP of the physical host) was getting put there. This was causing mariadb to deny proxy connections coming through haproxy because it wasn’t an allowed proxy source.21:11
plattaI traced it back to here, line 43 https://opendev.org/openstack/openstack-ansible/src/commit/e88ba9b917a217a1a65133be1df592b869f0d8d4/inventory/group_vars/galera_all.yml I just don’t know how hostvars and management_address get defined.21:13
jrosserplatta: is_management_address specifes the network that is used for the "openstack management network" - i.e the one that all the services communicate with each other on21:32
jrossernot to be confused with a network that you use as the the operator of the cloud to do "management"21:32
jrosserthe value of "management_address" is determined by the dynamic inventory script, you'll be able to see what that generates in the .json inventory file in /etc/openstack_deploy21:36
jrosser^ i think?21:36
plattaAha, you’re right! And that pretty much explains it. In my configuration I’m referencing the physical IP of the host instead of the host’s IP on the management network, so the inventory is getting generated incorrectly due to my mistake.21:38
jrosseryes you can see it here for an AIO galera instance https://zuul.opendev.org/t/openstack/build/4b6afa55f1ec44628fb4e489c597aaac/log/logs/etc/host/openstack_deploy/openstack_inventory.json.txt#149-20821:38
jrosserwell everything is configurable :)21:39
jrossersee the section at the end of here https://opendev.org/openstack/openstack-ansible/src/branch/master/doc/source/reference/inventory/configure-inventory.rst#L35421:39
plattaNext chance I get, I’ll re-image, correct the issue, and try again. I think that might do it.21:39
jrosseryou can optionally make the ansible "ssh" IP independant of the br-mgmt addresses21:39
jrosserfor example in my deployments we have a completely seperate out-of-band network that ansible and the pxeboot stuff uses21:40
jrossernothing at all to do with br-mgmt21:40
plattaThat also makes sense. I think the only reason I switched to the physical IP is because the other one wasn’t working. But, my network configuration has been refined since then. I’ll try it both ways to see what works.21:40
jrossercool - you can really make it however you need, if the ansible/ssh interface is not br-mgmt you can change that21:41
jrosserbut `management_address` is used in a whole ton of places so it's important that references the right thing21:42
plattaI’m running all the playbooks from inside the host, so I think it should work. What I’ve also built is a playbook that prepares the host for me, kind of like my own version of the playbook bootstrap-aio.sh runs.21:42
plattaInstalls packages, clones down the repo, and uses templates to write out my config files to `/etc/openstack_deploy`21:43
jrossershort answer is that `management_address` is the IP that gets chosen to bind all the various server processes to, and also as you've seen sets complimentary expectations in some services about acceptable incoming address ranges21:43
jrosserand in this case the database is setup to only accept connections from the loadbalancer IP (this of course can also be overidden if you need)21:44

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