diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2017-09-03 17:25:18 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2017-09-03 17:25:18 -0500 |
commit | 3240e47c77172eef852a187ce3900112f89e1785 (patch) | |
tree | 780e17377faf5c6ebc7fe976b2bd10e0c3c26002 /ci/config_tpl/juju2/bundle_tpl/ceph.yaml | |
parent | ea65265e93f162bdf3b236d0c58ac2d30db57f88 (diff) |
modified to include rados gateway with vip.
Change-Id: I5828c3b37e71da04515867f7e7d2b5bd10e9f9b1
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/ceph.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundle_tpl/ceph.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml index 7fa9a8a0..0568b38a 100644 --- a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml @@ -79,7 +79,7 @@ {% endif %} ceph-radosgw: charm: "./{{ ubuntu.release }}/ceph-radosgw" - num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }} + num_units: {{ unit_qty() }} {% if os.service.bindings %} constraints: *ceph-access-constr bindings: @@ -99,8 +99,11 @@ {% if opnfv.storage_dict.ceph is defined %} ceph-osd-replication-count: {{ unit_ceph_qty() }} {% endif %} +{% if os.ha.mode == 'ha' %} + vip: {{ opnfv.vip.radosgw }} +{% endif %} to: -{% for unit_id in to_select(unit_qty() if os.beta.hacluster_ceph_radosgw else 1) %} +{% for unit_id in to_select(unit_qty()) %} - "lxd:nodes/{{ unit_id }}" {% endfor %} {% endif %} |