sykebenX | Good 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-manually | 14:46 |
---|---|---|
noonedeadpunk | o/ | 14:47 |
sykebenX | The 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 |
sykebenX | It seems to fail to gather some of the host vars for the rabbitmq containers | 14:47 |
noonedeadpunk | can you paste the error? | 14:48 |
sykebenX | Yes, I can one sec | 14:48 |
sykebenX | fatal: [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 |
sykebenX | lxc_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.\n | 14:50 |
noonedeadpunk | can you run this: `cd /opt/openstack-ansible; ansible -m setup all` and then try to re-run the playbook? | 14:50 |
sykebenX | Yeah! | 14:51 |
sykebenX | Seems to still error the same spot | 14:56 |
sykebenX | It errors on "[lxc_container_create : Create container (dir)]" task btw | 14:56 |
noonedeadpunk | huh | 15:01 |
noonedeadpunk | um, can you pls paste through https://paste.openstack.org/ as it seems output was cut | 15:01 |
noonedeadpunk | #startmeeting openstack_ansible_meeting | 15:01 |
opendevmeet | Meeting 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 |
opendevmeet | Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. | 15:01 |
opendevmeet | The meeting name has been set to 'openstack_ansible_meeting' | 15:01 |
noonedeadpunk | #topic rollcall | 15:01 |
noonedeadpunk | o/ | 15:01 |
sykebenX | Yeah I'll paste one sec | 15:03 |
sykebenX | Was testing something else which I would also like to share | 15:03 |
sykebenX | https://paste.openstack.org/show/bXNcZqENGB0vnkxr9pZ1/ | 15:04 |
noonedeadpunk | hm | 15:05 |
noonedeadpunk | that is weird, as I'm pretty much sure that running setup should have helped | 15:06 |
noonedeadpunk | what if you run `ansible -m debug -a var=ansible_facts dev-c-01 | grep distribution` | 15:07 |
sykebenX | I 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 grep | 15:07 |
noonedeadpunk | yep, as we don't inject_vars_as_facts by default | 15:08 |
sykebenX | https://paste.openstack.org/show/bJZva4c8dk0VG9K4nu8x/ | 15:09 |
noonedeadpunk | are you running as root? | 15:09 |
NeilHanlon | o/ here, sorta | 15:10 |
NeilHanlon | running around finishing chores and packing | 15:11 |
sykebenX | No I am running using non-root based on the following doc: https://docs.openstack.org/openstack-ansible/latest/user/security/non-root.html | 15:11 |
noonedeadpunk | #topic office hours | 15:11 |
noonedeadpunk | ok, so. I don't have much things to talk about :) | 15:12 |
noonedeadpunk | we pretty much need to figure out moving 2023.1 to unmaintained state | 15:12 |
noonedeadpunk | but a deploy guide job is failing unobviously for me | 15:13 |
noonedeadpunk | #link https://review.opendev.org/c/openstack/openstack-ansible/+/939944 | 15:13 |
noonedeadpunk | and we need that for unmaintained | 15:13 |
noonedeadpunk | sykebenX: you apparently don't have write permissions to files where permission is expected | 15:17 |
sykebenX | Hmm 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 noonedeadpunk | 15:19 |
noonedeadpunk | Then - there was a good progress on abandoning tests repo. I would need to check on molecule tests coverage for plugins | 15:19 |
noonedeadpunk | not sure will have time though | 15:20 |
noonedeadpunk | as also will highly likely attend FOSDEM | 15:20 |
noonedeadpunk | though, I will arrive Saturday evening - right in time for the party | 15:21 |
NeilHanlon | niceee | 15:39 |
noonedeadpunk | #endmeeting | 15:56 |
opendevmeet | Meeting ended Tue Jan 28 15:56:31 2025 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) | 15:56 |
opendevmeet | Minutes: https://meetings.opendev.org/meetings/openstack_ansible_meeting/2025/openstack_ansible_meeting.2025-01-28-15.01.html | 15:56 |
opendevmeet | Minutes (text): https://meetings.opendev.org/meetings/openstack_ansible_meeting/2025/openstack_ansible_meeting.2025-01-28-15.01.txt | 15:56 |
opendevmeet | Log: https://meetings.opendev.org/meetings/openstack_ansible_meeting/2025/openstack_ansible_meeting.2025-01-28-15.01.log.html | 15:56 |
opendevreview | Jonathan 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/+/940318 | 17:03 |
opendevreview | Jonathan 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/+/940319 | 17:04 |
opendevreview | Dmitriy 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/+/940324 | 18:01 |
opendevreview | Merged openstack/ansible-role-systemd_networkd master: Add test coverage for upgrades https://review.opendev.org/c/openstack/ansible-role-systemd_networkd/+/939641 | 21:49 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!