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
11 monitor-count: {{ unit_ceph_qty() }}
12 fsid: ecbb8960-0e21-11e2-b495-83a88f44db01
13 monitor-secret: AQD1P2xQiKglDhAA4NGUF5j38Mhq56qwz+45wg==
14 source: *openstack-origin
15 {% if os.network.ipv6 %}
16 prefer-ipv6: {{ os.network.ipv6 }}
19 {% if os.hyperconverged %}
20 {% for unit_id in to_select(unit_ceph_qty()) %}
21 - "lxd:nodes/{{ unit_id }}"
24 {% if os.ha.mode == 'ha' %}
25 {% for unit_id in range(0, 3) %}
26 - "lxd:nodes/{{ unit_id }}"
35 charm: "./{{ ubuntu.release }}/ceph-osd"
36 {% if os.hyperconverged %}
37 {% if opnfv.units >= 3 %}
38 num_units: {{ unit_ceph_qty() }}
40 num_units: {{ opnfv.units }}
45 {% if os.service.bindings %}
48 public: *ceph-public-space
49 cluster: *ceph-cluster-space
52 osd-devices: *osd-devices
53 osd-journal: *osd-journal
55 source: *openstack-origin
56 {% if os.network.ipv6 %}
57 prefer-ipv6: {{ os.network.ipv6 }}
60 {% if os.hyperconverged %}
61 {% if opnfv.units >= 3 %}
62 {% for unit_id in range(0, 3) %}
63 - "nodes/{{ unit_id }}"
66 {% for unit_id in range(0, opnfv.units) %}
67 - "nodes/{{ unit_id }}"
71 {% if os.ha.mode == 'ha' %}
72 {% for unit_id in range(0, 3) %}
73 - "nodes/{{ unit_id }}"
82 charm: "./{{ ubuntu.release }}/ceph-radosgw"
83 num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
84 {% if os.service.bindings %}
89 internal: *internal-space
90 mon: *ceph-public-space
93 region: *openstack-region
94 operator-roles: "Member,admin"
95 source: *openstack-origin
96 {% if os.network.ipv6 %}
97 prefer-ipv6: {{ os.network.ipv6 }}
99 {% if opnfv.storage_dict.ceph is defined %}
100 ceph-osd-replication-count: {{ unit_ceph_qty() }}
103 {% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %}
104 - "lxd:nodes/{{ unit_id }}"