Tuesday, 2025-01-28

sykebenXGood morning, I was wondering if someone might be able to assist me with an issue I am having during an upgrade from openstack-ansible 29.2.0 -> 30.0.1. I've been following https://docs.openstack.org/openstack-ansible/latest/admin/upgrades/major-upgrades.html#upgrading-manually14:46
noonedeadpunko/14:47
sykebenXThe issue I am having is on executing this step (keep in mind this worked when I was upgrading from 29.0.2 -> 29.2.0): openstack-ansible openstack.osa.setup_hosts -e 'lxc_container_allow_restarts=false' --limit 'galera_all:rabbitmq_all'14:47
sykebenXIt seems to fail to gather some of the host vars for the rabbitmq containers14:47
noonedeadpunkcan you paste the error?14:48
sykebenXYes, I can one sec14:48
sykebenXfatal: [dev-c-01-rabbit-mq-container-765cff6a -> dev-c-01]: FAILED! => {"msg": "The task includes an option with an undefined variable.. --dist {{ lxc_container_map.distro }} --release {{ lxc_container_map.release }} --arch {{ lxc_container_map.arch }} --force-cache --server {{ lxc_image_cache_server }} --variant={{ properties['lxc_container_variant'] | default(lxc_container_variant) }} {{ lxc_container_download_template_extra_options }}:14:49
sykebenXlxc_architecture_mapping.get(hostvars[physical_host]['ansible_facts']['architecture'] | lower) }}\", 'release': \"{{ hostvars[physical_host]['ansible_facts']['distribution_major_version'] }}\"}: 'dict object' has no attribute 'distribution'\n\nThe error appears to be in '/etc/ansible/roles/lxc_container_create/tasks/lxc_container_create_dir.yml': line 16, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n14:50
noonedeadpunkcan you run this: `cd /opt/openstack-ansible; ansible -m setup all` and then try to re-run the playbook?14:50
sykebenXYeah!14:51
sykebenXSeems to still error the same spot14:56
sykebenXIt errors on "[lxc_container_create : Create container (dir)]" task btw14:56
noonedeadpunkhuh15:01
noonedeadpunkum, can you pls paste through https://paste.openstack.org/  as it seems output was cut15:01
noonedeadpunk#startmeeting openstack_ansible_meeting15:01
opendevmeetMeeting started Tue Jan 28 15:01:44 2025 UTC and is due to finish in 60 minutes.  The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot.15:01
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:01
opendevmeetThe meeting name has been set to 'openstack_ansible_meeting'15:01
noonedeadpunk#topic rollcall15:01
noonedeadpunko/15:01
sykebenXYeah I'll paste one sec15:03
sykebenXWas testing something else which I would also like to share15:03
sykebenXhttps://paste.openstack.org/show/bXNcZqENGB0vnkxr9pZ1/15:04
noonedeadpunkhm15:05
noonedeadpunkthat is weird, as I'm pretty much sure that running setup should have helped15:06
noonedeadpunkwhat if you run `ansible -m debug -a var=ansible_facts dev-c-01 | grep distribution`15:07
sykebenXI also tried a simple playbook which just debugs out ansible_distribution, but it fails on the machine with openstack-ansible bootstrapped on, but succeeds when openstack-ansible is not installed: https://paste.openstack.org/show/bSvWt7Zxylsh40YXdAli/15:07
noonedeadpunk(and maybe without grep15:07
noonedeadpunkyep, as we don't inject_vars_as_facts by default15:08
sykebenXhttps://paste.openstack.org/show/bJZva4c8dk0VG9K4nu8x/15:09
noonedeadpunkare you running as root?15:09
NeilHanlono/ here, sorta15:10
NeilHanlonrunning around finishing chores and packing15:11
sykebenXNo I am running using non-root based on the following doc: https://docs.openstack.org/openstack-ansible/latest/user/security/non-root.html15:11
noonedeadpunk#topic office hours15:11
noonedeadpunkok, so. I don't have much things to talk about :)15:12
noonedeadpunkwe pretty much need to figure out moving 2023.1 to unmaintained state15:12
noonedeadpunkbut a deploy guide job is failing unobviously for me15:13
noonedeadpunk#link https://review.opendev.org/c/openstack/openstack-ansible/+/93994415:13
noonedeadpunkand we need that for unmaintained15:13
noonedeadpunksykebenX: you apparently don't have write permissions to files where permission is expected15:17
sykebenXHmm yeah there were some oddities there I noticed as well. I wasn't sure it would impact reading of facts from just the rabbitmq container though. It seems others are capable. I will check this out! Thanks noonedeadpunk15:19
noonedeadpunkThen - there was a good progress on abandoning tests repo. I would need to check on molecule tests coverage for plugins15:19
noonedeadpunknot sure will have time though15:20
noonedeadpunkas also will highly likely attend FOSDEM15:20
noonedeadpunkthough, I will arrive Saturday evening - right in time for the party15:21
NeilHanlonniceee15:39
noonedeadpunk#endmeeting15:56
opendevmeetMeeting ended Tue Jan 28 15:56:31 2025 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:56
opendevmeetMinutes:        https://meetings.opendev.org/meetings/openstack_ansible_meeting/2025/openstack_ansible_meeting.2025-01-28-15.01.html15:56
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/openstack_ansible_meeting/2025/openstack_ansible_meeting.2025-01-28-15.01.txt15:56
opendevmeetLog:            https://meetings.opendev.org/meetings/openstack_ansible_meeting/2025/openstack_ansible_meeting.2025-01-28-15.01.log.html15:56
opendevreviewJonathan Heathcote proposed openstack/openstack-ansible-os_ironic master: Fix Ironic IPA version for 2024.2  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/94031817:03
opendevreviewJonathan Heathcote proposed openstack/openstack-ansible-os_ironic stable/2024.2: Fix Ironic IPA version for 2024.2  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/94031917:04
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-systemd_networkd master: Allow to apply only overrides to the network interface  https://review.opendev.org/c/openstack/ansible-role-systemd_networkd/+/94032418:01
opendevreviewMerged openstack/ansible-role-systemd_networkd master: Add test coverage for upgrades  https://review.opendev.org/c/openstack/ansible-role-systemd_networkd/+/93964121:49

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