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 expected-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 num_units: {{ opnfv.units }}
40 {% if os.service.bindings %}
43 public: *ceph-public-space
44 cluster: *ceph-cluster-space
47 osd-devices: *osd-devices
48 osd-journal: *osd-journal
50 source: *openstack-origin
51 {% if os.network.ipv6 %}
52 prefer-ipv6: {{ os.network.ipv6 }}
55 {% if os.hyperconverged %}
56 {% for unit_id in range(0, opnfv.units) %}
57 - "nodes/{{ unit_id }}"
60 {% if os.ha.mode == 'ha' %}
61 {% for unit_id in range(0, 3) %}
62 - "nodes/{{ unit_id }}"
71 charm: "./{{ ubuntu.release }}/ceph-radosgw"
72 num_units: {{ unit_qty() }}
73 {% if os.service.bindings %}
74 constraints: *ceph-access-constr
79 internal: *internal-space
80 mon: *ceph-public-space
83 region: *openstack-region
84 operator-roles: "Member,admin,SwiftOperator"
85 source: *openstack-origin
86 {% if os.network.ipv6 %}
87 prefer-ipv6: {{ os.network.ipv6 }}
89 {% if opnfv.storage_dict.ceph is defined %}
90 ceph-osd-replication-count: {{ unit_ceph_qty() }}
92 {% if os.ha.mode == 'ha' %}
93 vip: {{ opnfv.vip.radosgw }}
96 {% for unit_id in to_select(unit_qty()) %}
97 - "lxd:nodes/{{ unit_id }}"