From 64716eb8ce1b9aa5748454acad7d274e4c3d3bdc Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 15 Aug 2016 13:53:15 -0500 Subject: modified to support intel pod9. Change-Id: I665848c577b988798462ba67502bc1ac2386e473 Signed-off-by: Narinder Gupta --- ci/config_tpl/bundle_tpl/ceph.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ci/config_tpl/bundle_tpl') 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 %} -- cgit 1.2.3-korg