From 12e85362a6ebf73c9a8935631c4e0d6166dcb254 Mon Sep 17 00:00:00 2001 From: Bjoern Teipel Date: Tue, 22 Aug 2023 16:37:19 -0500 Subject: [PATCH] Fix missing cinder volume backend for ceph - Adding cinder-volume on infra-hosts once ceph is enabled - Fix missing osa_no_containers default value of false Change-Id: Id7898c9dff84cbb981c9c0c916a65abcc5256dfd --- multi-node-aio/playbooks/osa/openstack_user_config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/multi-node-aio/playbooks/osa/openstack_user_config.yml b/multi-node-aio/playbooks/osa/openstack_user_config.yml index 48c856d5..7f2b5fad 100644 --- a/multi-node-aio/playbooks/osa/openstack_user_config.yml +++ b/multi-node-aio/playbooks/osa/openstack_user_config.yml @@ -16,7 +16,7 @@ used_ips: global_overrides: internal_lb_vip_address: "{{ internal_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_networks']['mgmt']['address'].split('/')[0]) }}" external_lb_vip_address: "{{ external_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_vm_fixed_addr']) }}" -{% if osa_no_containers | bool %} +{% if osa_no_containers | default(false) | bool %} no_containers: True {% endif %} tunnel_bridge: "br-vxlan" @@ -306,6 +306,9 @@ storage-infra_hosts: *infra_block {% if not (enable_ceph_storage | bool) %} # cinder storage host (LVM-backed) storage_hosts: *cinder_block +{% else %} +# cinder volume on infra hosts (ceph) +storage_hosts: *infra_block {% endif %} {% endif %}