diff options
Diffstat (limited to 'ci/config_tpl')
-rw-r--r-- | ci/config_tpl/bundle_tpl/ceph.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ci/config_tpl/bundle_tpl/ceph.yaml b/ci/config_tpl/bundle_tpl/ceph.yaml index da1e8b54..10b96843 100644 --- a/ci/config_tpl/bundle_tpl/ceph.yaml +++ b/ci/config_tpl/bundle_tpl/ceph.yaml @@ -10,9 +10,21 @@ #ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }} {% endif %} to: +{% if os.hyperconverged %} {% for unit_id in to_select(unit_ceph_qty()) %} - "lxc:nodes={{ unit_id }}" {% endfor %} +{% else %} +{% if os.ha.mode == 'ha' %} +{% for unit_id in range(0, 3) %} + - "lxc:nodes={{ unit_id }}" +{% endfor %} +{% else %} + - "lxc:nodes=0" + - "lxc:nodes=0" + - "lxc:nodes=0" +{% endif %} +{% endif %} ceph-osd: charm: "local:{{ ubuntu.release }}/ceph-osd" {% if os.hyperconverged %} |