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 source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
10 {% if os.network.ipv6 %}
11 prefer-ipv6: {{ os.network.ipv6 }}
13 {% if opnfv.spaces_dict.storage is defined %}
14 #ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }}
17 {% if os.hyperconverged %}
18 {% for unit_id in to_select(unit_ceph_qty()) %}
19 - "lxd:nodes/{{ unit_id }}"
22 {% if os.ha.mode == 'ha' %}
23 {% for unit_id in range(0, 3) %}
24 - "lxd:nodes/{{ unit_id }}"
33 charm: "./{{ ubuntu.release }}/ceph-osd"
34 {% if os.hyperconverged %}
35 num_units: {{ opnfv.units }}
40 osd-devices: {{ opnfv.storage_dict.ceph.disk }}
42 source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
43 {% if os.network.ipv6 %}
44 prefer-ipv6: {{ os.network.ipv6 }}
47 {% if os.hyperconverged %}
48 {% for unit_id in range(0, opnfv.units) %}
49 - "nodes/{{ unit_id }}"
52 {% if os.ha.mode == 'ha' %}
53 {% for unit_id in range(0, 3) %}
54 - "nodes/{{ unit_id }}"
63 charm: "./{{ ubuntu.release }}/ceph-radosgw"
64 num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
66 region: {{ os.region }}
67 use-embedded-webserver: true
68 operator-roles: "Member,admin"
69 source: "cloud:{{ ubuntu.release }}-updates/{{ os.release }}"
70 {% if os.network.ipv6 %}
71 prefer-ipv6: {{ os.network.ipv6 }}
73 {% if opnfv.storage_dict.ceph is defined %}
74 ceph-osd-replication-count: {{ unit_ceph_qty() }}
77 {% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %}
78 - "lxd:nodes/{{ unit_id }}"