Thursday, 2024-06-27

noonedeadpunkjrosser: well, the thing is, that it's broken even when require_secure_transport is disabled07:26
noonedeadpunkso it feels it's client who tries to do SSL wherever possible07:27
noonedeadpunkI tried asking in irc yesterday but with no luck - seems would need to make a zulip account instead07:29
andrewbonneynoonedeadpunk: I've added a note to your octavia keypair patch. Happy to try and find a fix, but thought it would be useful to write down the current state first07:35
noonedeadpunkyeah, I guess upgrade hook to move keys might be easier here indeed07:36
andrewbonneyWe'd need it in the future too though as it could get lost when rebuilding a utility container07:37
andrewbonneyUnless we view that as a necessary manual step07:37
noonedeadpunkand drop ${HOME} with that07:37
noonedeadpunkor, adjust openstack_resources role....07:38
noonedeadpunkwe indeed can do multiple things here07:39
noonedeadpunkthen in fact we can try delegating to localhost this one: https://opendev.org/openstack/openstack-ansible-plugins/src/branch/master/roles/openstack_resources/tasks/keypairs.yml#L2607:46
andrewbonneyDo we still need a way to set the python interpreter explicitly or do you think it would work without that?07:48
andrewbonneyYeah, delegation plus setting of python interpreter so it doesn't try to use the path from the utility container ought to work07:53
noonedeadpunkwe'd need cryptography installed07:53
noonedeadpunkin terms of python07:54
andrewbonneyIt seems to be installed for us, not sure if another deploy host dependency brings it in07:55
noonedeadpunkit should be in /opt/ansible-runtime at least07:55
noonedeadpunkbut not sure about default python on deploy host07:55
andrewbonneyAh yes, the version is much more current in there07:56
andrewbonneyI must be doing something stupid. Trying to override the python interpreter for that task always seems to fall back to the container host path08:35
andrewbonneyAh, variable precedence fun08:40
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-plugins master: Enable use of alternative host for keypair generation and storage  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92291908:50
andrewbonney^ that appears to work, but variable precedence makes it messier than I'd like08:51
noonedeadpunkI'm really not sure about defaults you've set... As not to break upgrades, it should kinda point to loclahost/ansible-runtime venv?09:13
andrewbonneyThat's fine, those are certainly what I've used as overrides when testing it, I just wasn't sure whether to maintain old or new behaviour by default09:15
noonedeadpunkbut as you said - we need to "backup" the key regardless?09:19
jrossernoonedeadpunk: for the mariadb client i found also some stuff in the docs about client-mariadb section09:19
jrosserwhich would be specific config only for the cli client09:19
jrosserit might be that it inherits "always ssl" from some other part of the config09:19
jrosserour config file templates probably need updating to be more specifically targetting the cli client09:20
andrewbonneynoonedeadpunk: I don't think backup is needed once we have the delegation09:20
noonedeadpunkyeah, but by default now it's set to delegate to utility still?09:21
andrewbonneyAh yes, I was going to change that to localhost if you think that's suitable. If so we don't need extra tasks09:21
noonedeadpunkor we can pass openstack_resources_deploy_host during role include in octavia specifically09:22
andrewbonneyHappy to go with either preference. The only unfortunate thing about changing the default is having the ansible-runtime path directly in the plugins repo, but it has to go somewhere09:24
noonedeadpunkyeah.....09:25
jrosseransible_playbook_python ?09:25
jrosserthat should be the path to the interpreter on the ansible host09:26
andrewbonneyAh I didn't think that would work with all the overriding going on, but it does appear to09:28
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-plugins master: Enable use of alternative host for keypair generation and storage  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92291909:33
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Update mariadb to 11.4.2  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/92237711:05
noonedeadpunkjrosser: frankly - I'm not sure how to change client configuration in a sufficient way11:05
noonedeadpunkas then there's also a debian-start that defines defaults-file for client explicitly11:06
noonedeadpunkand that's kind of /o\ default to begin with11:07
opendevreviewMerged openstack/openstack-ansible-os_nova stable/2024.1: Update conditions for kernel statoverride  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/92271211:42
opendevreviewMerged openstack/openstack-ansible-os_nova stable/2023.2: Update conditions for kernel statoverride  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/92271315:58
opendevreviewMerged openstack/openstack-ansible-plugins master: Enable use of alternative host for keypair generation and storage  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92291916:13

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