Glance plays fails due to error parsing Ceph keyrings in 2023.1/Antelope
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Critical
|
Dmitriy Rabotyagov |
Bug Description
In 2023.1/Antelope Openstack-Ansible, Glance plays fails while attempting to parse Ceph keyrings with the following error:
TASK [ceph_client : From files | Retrieve keyrings for openstack clients] *******
task path: /etc/ansible/
File lookup using /etc/openstack_
fatal: [infra-01 -> localhost]: FAILED! => {
"msg": "Unexpected templating type error occurred on ({% set _keys = {} %}\n{% for client in ceph_client_
}
The keyring files exist and did not have this issue with Zed or any previous deployments. It looks to be related to the changes in: https:/
The value of ceph_keyrings_dir: "/etc/openstack
Changed in openstack-ansible: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Dmitriy Rabotyagov (noonedeadpunk) |
Hi,
Thanks for reporting this.
Do you have ceph_extra_ components (or maybe ceph_components) defined in your user_variables or group_vars? As it looks like mentioned patch indeed changed format of that without covering change by a release note or any backwards compatibility.