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 %}
90 internal: *internal-space
91 mon: *ceph-public-space
94 region: *openstack-region
95 operator-roles: "Member,admin"
96 source: *openstack-origin
97 {% if os.network.ipv6 %}
98 prefer-ipv6: {{ os.network.ipv6 }}
100 {% if opnfv.storage_dict.ceph is defined %}
101 ceph-osd-replication-count: {{ unit_ceph_qty() }}
104 {% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %}
105 - "lxd:nodes/{{ unit_id }}"