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
This commit is contained in:
parent
fed822056b
commit
12e85362a6
@ -16,7 +16,7 @@ used_ips:
|
|||||||
global_overrides:
|
global_overrides:
|
||||||
internal_lb_vip_address: "{{ internal_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_networks']['mgmt']['address'].split('/')[0]) }}"
|
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']) }}"
|
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
|
no_containers: True
|
||||||
{% endif %}
|
{% endif %}
|
||||||
tunnel_bridge: "br-vxlan"
|
tunnel_bridge: "br-vxlan"
|
||||||
@ -306,6 +306,9 @@ storage-infra_hosts: *infra_block
|
|||||||
{% if not (enable_ceph_storage | bool) %}
|
{% if not (enable_ceph_storage | bool) %}
|
||||||
# cinder storage host (LVM-backed)
|
# cinder storage host (LVM-backed)
|
||||||
storage_hosts: *cinder_block
|
storage_hosts: *cinder_block
|
||||||
|
{% else %}
|
||||||
|
# cinder volume on infra hosts (ceph)
|
||||||
|
storage_hosts: *infra_block
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user