increaing the no id OSD as equal as compute. 75/17375/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 21 Jul 2016 19:49:21 +0000 (14:49 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 21 Jul 2016 19:49:43 +0000 (14:49 -0500)
Change-Id: Iaf013493152928517de3ef6f84abe587e3bff991
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/bundle_tpl/ceph.yaml

index a506037..01d62ca 100644 (file)
 {% endfor %}
     ceph-osd:
       charm: "local:{{ ubuntu.release }}/ceph-osd"
-      num_units: {{ unit_ceph_qty() }}
+      num_units: {{ opnfv.units - 1 }}
       options:
         osd-devices: {{ opnfv.storage_dict.ceph.disk }}
         osd-reformat: 'yes'
       to:
-{% for unit_id in to_select(unit_ceph_qty()) %}
+{% for unit_id in range(1, opnfv.units) %}
         - "nodes={{ unit_id }}"
 {% endfor %}
     ceph-radosgw: