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 {% for unit_id in to_select(unit_ceph_qty()) %}
14 - "lxc:nodes={{ unit_id }}"
17 charm: "local:{{ ubuntu.release }}/ceph-osd"
18 num_units: {{ opnfv.units - 1 }}
20 osd-devices: {{ opnfv.storage_dict.ceph.disk }}
23 {% for unit_id in range(1, opnfv.units) %}
24 - "nodes={{ unit_id }}"
27 charm: "local:{{ ubuntu.release }}/ceph-radosgw"
28 num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
30 use-embedded-webserver: true
31 operator-roles: "Member,admin"
33 {% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %}
34 - "lxc:nodes={{ unit_id }}"