charm: "./{{ ubuntu.release }}/ceph-radosgw"
num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
{% if os.service.bindings %}
+ constraints: *ceph-access-constr
bindings:
"": *oam-space
public: *public-space
charm: "./{{ ubuntu.release }}/openstack-dashboard"
num_units: {{ unit_qty() }}
{% if os.service.bindings %}
+ constraints: *oam-space-constr
bindings:
"": *public-space
shared-db: *internal-space
# CEPH configuration
# CEPH access network
- ceph-public-space: &ceph-public-space internal-api
+{% if opnfv.spaces_dict.storageaccess is defined %}
+ ceph-public-space: &ceph-public-space storage-access-space
+ ceph-access-constr: &ceph-access-constr spaces=storage-access-space
+{% else %}
+ ceph-public-space: &ceph-public-space internal-api
+ ceph-access-constr: &ceph-access-constr spaces=internal-api
+{% endif %}
# CEPH replication network
{% if opnfv.spaces_dict.storage is defined %}
{% endif %}
# Workaround for 'only one default binding supported'
- oam-space-constr: &oam-space-constr spaces=oam-space
- ceph-access-constr: &ceph-access-constr spaces=ceph-access-space
+ oam-space-constr: &oam-space-constr spaces=internal-api
# CEPH OSD and journal devices; temporary workaround for #1674148
{% if os.lxd %}