25.1.0 - AIO deployment on a single Rocky 8.6 VM with default values inside one infrastructure with proxy. fails on playbook "openstack-ansible setup-infrastructure.yml" for ansible var error.
Error:
TASK [ceph-facts : generate cluster fsid] *************************************************************************************************************************************************************
fatal: [aio1_ceph-mon_container-4f3cbdc0 -> {{ groups[mon_group_name][0] }}]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'discovered_interpreter_python'\n\nThe error appears to be in '/etc/ansible/roles/ceph-ansible/roles/ceph-facts/tasks/facts.yml': line 169, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: generate cluster fsid\n ^ here\n"}
How to reproduce:
- follow the quickstart guide
- set scenario
export SCENARIO='aio_lxc_ceph'
# clone repo
git clone https://opendev.org/openstack/openstack-ansible /opt/openstack-ansible
cd /opt/openstack-ansible
git checkout 25.1.0
# run scripts
scripts/bootstrap-ansible.sh
scripts/bootstrap-aio.sh
# Run playbooks
cd /opt/openstack-ansible/playbooks
openstack-ansible setup-hosts.yml
openstack-ansible setup-infrastructure.yml
the deployment stop with the above error
playbook run summary
PLAY RECAP ********************************************************************************************************************************************************************************************
aio1 : ok=49 changed=29 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0
aio1_ceph-mon_container-4f3cbdc0 : ok=30 changed=8 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
aio1_galera_container-5c2f6c3c : ok=79 changed=41 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0
aio1_memcached_container-37e22d5f : ok=20 changed=11 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
aio1_rabbit_mq_container-4684b9a1 : ok=68 changed=32 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0
aio1_repo_container-8bad80a4 : ok=88 changed=42 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0
aio1_utility_container-ec6c2183 : ok=70 changed=39 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0
Well, that sounds more like ceph-ansible issue that we do use for deploying ceph. So according to the output task fails here: /github. com/ceph/ ceph-ansible/ blob/d7bf53a576 465f0f25409b116 ec8ca1d797ad0b7 /roles/ ceph-facts/ tasks/facts. yml#L169- L173
https:/
Can you kindly provide output of these 2 tasks, that are supposed to define discovered_ interpreter_ python: /github. com/ceph/ ceph-ansible/ blob/d7bf53a576 465f0f25409b116 ec8ca1d797ad0b7 /roles/ ceph-facts/ tasks/facts. yml#L18- L34 ?
https:/
It would help understanding where this issue does come from.