1 {% if opnfv.storage_dict.ceph is defined %}
3 charm: "local:{{ 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 opnfv.spaces_dict.storage is defined %}
10 #ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }}
13 {% if os.hyperconverged %}
14 {% for unit_id in to_select(unit_ceph_qty()) %}
15 - "lxc:nodes={{ unit_id }}"
18 {% if os.ha.mode == 'ha' %}
19 {% for unit_id in range(0, 3) %}
20 - "lxc:nodes={{ unit_id }}"
29 charm: "local:{{ ubuntu.release }}/ceph-osd"
30 {% if os.hyperconverged %}
31 num_units: {{ opnfv.units }}
36 osd-devices: {{ opnfv.storage_dict.ceph.disk }}
39 {% if os.hyperconverged %}
40 {% for unit_id in range(0, opnfv.units) %}
41 - "nodes={{ unit_id }}"
44 {% if os.ha.mode == 'ha' %}
45 {% for unit_id in range(0, 3) %}
46 - "nodes={{ unit_id }}"
55 charm: "local:{{ ubuntu.release }}/ceph-radosgw"
56 num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
58 region: {{ os.region }}
59 use-embedded-webserver: true
60 operator-roles: "Member,admin"
61 {% if opnfv.storage_dict.ceph is defined %}
62 ceph-osd-replication-count: {{ unit_ceph_qty() }}
65 {% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %}
66 - "lxc:nodes={{ unit_id }}"