1 {% if opnfv.storage_dict.ceph is defined %}
3 charm: "./{{ ubuntu.release }}/ceph-mon"
4 num_units: {{ unit_ceph_qty() }}
5 {% if os.service.bindings %}
8 public: *ceph-public-space
9 cluster: *ceph-cluster-space
12 monitor-count: {{ unit_ceph_qty() }}
13 fsid: ecbb8960-0e21-11e2-b495-83a88f44db01
14 monitor-secret: AQD1P2xQiKglDhAA4NGUF5j38Mhq56qwz+45wg==
15 source: *openstack-origin
16 {% if os.network.ipv6 %}
17 prefer-ipv6: {{ os.network.ipv6 }}
20 {% if os.hyperconverged %}
21 {% for unit_id in to_select(unit_ceph_qty()) %}
22 - "lxd:nodes/{{ unit_id }}"
25 {% if os.ha.mode == 'ha' %}
26 {% for unit_id in range(0, 3) %}
27 - "lxd:nodes/{{ unit_id }}"
36 charm: "./{{ ubuntu.release }}/ceph-osd"
37 {% if os.hyperconverged %}
38 {% if opnfv.units >= 3 %}
39 num_units: {{ unit_ceph_qty() }}
41 num_units: {{ opnfv.units }}
46 {% if os.service.bindings %}
49 public: *ceph-public-space
50 cluster: *ceph-cluster-space
53 osd-devices: *osd-devices
54 osd-journal: *osd-journal
56 source: *openstack-origin
57 {% if os.network.ipv6 %}
58 prefer-ipv6: {{ os.network.ipv6 }}
61 {% if os.hyperconverged %}
62 {% if opnfv.units >= 3 %}
63 {% for unit_id in range(0, 3) %}
64 - "nodes/{{ unit_id }}"
67 {% for unit_id in range(0, opnfv.units) %}
68 - "nodes/{{ unit_id }}"
72 {% if os.ha.mode == 'ha' %}
73 {% for unit_id in range(0, 3) %}
74 - "nodes/{{ unit_id }}"
83 charm: "./{{ ubuntu.release }}/ceph-radosgw"
84 num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
85 {% if os.service.bindings %}
86 constraints: *ceph-access-constr
91 internal: *internal-space
92 mon: *ceph-public-space
95 region: *openstack-region
96 operator-roles: "Member,admin"
97 source: *openstack-origin
98 {% if os.network.ipv6 %}
99 prefer-ipv6: {{ os.network.ipv6 }}
101 {% if opnfv.storage_dict.ceph is defined %}
102 ceph-osd-replication-count: {{ unit_ceph_qty() }}
105 {% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %}
106 - "lxd:nodes/{{ unit_id }}"