Merge "cinder: check for coordination backend when HA"

This commit is contained in:
Zuul 2025-05-09 11:40:28 +00:00 committed by Gerrit Code Review
commit 845f58c7e0
2 changed files with 11 additions and 0 deletions

View File

@ -57,6 +57,16 @@
- enable_cinder_backend_lvm | bool
- inventory_hostname in groups['cinder-volume']
- name: Checking for coordination backend if Ceph backend is enabled
run_once: True
fail:
msg: "Please enable redis or etcd when using Cinder Ceph backend"
when:
- not skip_cinder_backend_check | bool
- cinder_backend_ceph | bool
- cinder_coordination_backend == ''
- groups['cinder-volume'] | length > 1
- name: Check if S3 configurations are defined
assert:
that:

View File

@ -147,6 +147,7 @@ enable_mariabackup: "yes"
# kolla-ansible vars
enable_cinder: "yes"
enable_neutron_agent_ha: "yes"
enable_redis: "yes"
cinder_cluster_name: "kolla_ceph"
# External Ceph
glance_backend_ceph: "yes"