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 expceted-osd-count: {{ unit_ceph_qty() }}
13 source: *openstack-origin
14 {% if os.network.ipv6 %}
15 prefer-ipv6: {{ os.network.ipv6 }}
18 {% if os.hyperconverged %}
19 {% for unit_id in to_select(unit_ceph_qty()) %}
20 - "lxd:nodes/{{ unit_id }}"
23 {% if os.ha.mode == 'ha' %}
24 {% for unit_id in range(0, 3) %}
25 - "lxd:nodes/{{ unit_id }}"
34 charm: "./{{ ubuntu.release }}/ceph-osd"
35 {% if os.hyperconverged %}
36 {% if opnfv.units >= 3 %}
37 num_units: {{ unit_ceph_qty() }}
39 num_units: {{ opnfv.units }}
44 {% if os.service.bindings %}
47 public: *ceph-public-space
48 cluster: *ceph-cluster-space
51 osd-devices: *osd-devices
52 osd-journal: *osd-journal
54 source: *openstack-origin
55 {% if os.network.ipv6 %}
56 prefer-ipv6: {{ os.network.ipv6 }}
59 {% if os.hyperconverged %}
60 {% if opnfv.units >= 3 %}
61 {% for unit_id in range(0, 3) %}
62 - "nodes/{{ unit_id }}"
65 {% for unit_id in range(0, opnfv.units) %}
66 - "nodes/{{ unit_id }}"
70 {% if os.ha.mode == 'ha' %}
71 {% for unit_id in range(0, 3) %}
72 - "nodes/{{ unit_id }}"
81 charm: "./{{ ubuntu.release }}/ceph-radosgw"
82 num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
83 {% if os.service.bindings %}
84 constraints: *ceph-access-constr
89 internal: *internal-space
90 mon: *ceph-public-space
93 region: *openstack-region
94 operator-roles: "Member,admin,SwiftOperator"
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 }}"