1 {% if opnfv.storage_dict.ceph is defined %}
3 charm: "./{{ ubuntu.release }}/ceph"
4 num_units: {{ unit_ceph_qty() }}
6 monitor-count: {{ unit_ceph_qty() }}
7 fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
8 monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
9 {% if os.network.ipv6 %}
10 prefer-ipv6: {{ os.network.ipv6 }}
12 {% if opnfv.spaces_dict.storage is defined %}
13 #ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }}
16 {% if os.hyperconverged %}
17 {% for unit_id in to_select(unit_ceph_qty()) %}
18 - "lxd:nodes/{{ unit_id }}"
21 {% if os.ha.mode == 'ha' %}
22 {% for unit_id in range(0, 3) %}
23 - "lxd:nodes/{{ unit_id }}"
32 charm: "./{{ ubuntu.release }}/ceph-osd"
33 {% if os.hyperconverged %}
34 num_units: {{ opnfv.units }}
39 osd-devices: {{ opnfv.storage_dict.ceph.disk }}
41 {% if os.network.ipv6 %}
42 prefer-ipv6: {{ os.network.ipv6 }}
45 {% if os.hyperconverged %}
46 {% for unit_id in range(0, opnfv.units) %}
47 - "nodes/{{ unit_id }}"
50 {% if os.ha.mode == 'ha' %}
51 {% for unit_id in range(0, 3) %}
52 - "nodes/{{ unit_id }}"
61 charm: "./{{ ubuntu.release }}/ceph-radosgw"
62 num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
64 region: {{ os.region }}
65 use-embedded-webserver: true
66 operator-roles: "Member,admin"
67 {% if os.network.ipv6 %}
68 prefer-ipv6: {{ os.network.ipv6 }}
70 {% if opnfv.storage_dict.ceph is defined %}
71 ceph-osd-replication-count: {{ unit_ceph_qty() }}
74 {% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %}
75 - "lxd:nodes/{{ unit_id }}"