diff options
| author | Kari Häkkinen <Kari.Hakkinen@admicom.com> | 2026-07-22 15:24:36 +0300 |
|---|---|---|
| committer | Kari Häkkinen <Kari.Hakkinen@admicom.com> | 2026-07-28 21:22:18 +0300 |
| commit | 001ceb044c654733fd4327fc98af9d3db95dbcd1 (patch) | |
| tree | 6123761185dc2b39a4c237f595963d5c9be7c811 /zuul.d | |
| parent | fff4bf1c195ba5f65bfc0a5394285ccfad374eed (diff) | |
| download | kolla-ansible-001ceb044c654733fd4327fc98af9d3db95dbcd1.tar.gz kolla-ansible-001ceb044c654733fd4327fc98af9d3db95dbcd1.zip | |
cinder: Define backend variables in group_vars/all
The iscsi role derives the cinder-volume/backup inventory groups from
cinder_enabled_backends, but that variable (along with cinder_backends,
cinder_ceph_backends and the cinder_backend_*_name variables) was only
defined in the cinder role defaults. The iscsi play runs before the
cinder play, so the variable is out of scope there and prechecks (and
deploy/reconfigure) fail with:
'cinder_enabled_backends' is undefined
when a Cinder iSCSI/LVM backend is enabled.
Move these backend variable definitions to group_vars/all/cinder.yml so
they are in scope for every play, including the iscsi role. This also
keeps all cinder backend definitions - including the cinder-backup ceph
backend (cinder_backup_backend_ceph_name, cinder_backup_ceph_backend) -
in one place. All of their dependencies (the enable_cinder_backend_*
flags, cinder_backend_ceph and the ceph_* variables) are already global,
and globals.yml is applied as extra-vars, so operator overrides continue
to take precedence.
Partial-Bug: #2158120
Change-Id: I765f45814382377332ba9f01f1bc52bd4e046170
Signed-off-by: Kari Häkkinen <Kari.Hakkinen@admicom.com>
(cherry picked from commit 2df2ee6e49d0fd58b1781c0b490b019e1936e96b)
Diffstat (limited to 'zuul.d')
0 files changed, 0 insertions, 0 deletions
