summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-09-03 17:25:18 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-09-03 17:25:18 -0500
commit3240e47c77172eef852a187ce3900112f89e1785 (patch)
tree780e17377faf5c6ebc7fe976b2bd10e0c3c26002 /ci/config_tpl/juju2/bundle_tpl
parentea65265e93f162bdf3b236d0c58ac2d30db57f88 (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')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/ceph.yaml7
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/haclusters.yaml12
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/harelations.yaml4
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/heat.yaml8
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/mysql.yaml2
5 files changed, 18 insertions, 15 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 %}
diff --git a/ci/config_tpl/juju2/bundle_tpl/haclusters.yaml b/ci/config_tpl/juju2/bundle_tpl/haclusters.yaml
index 3b5f1844..091fa7e0 100644
--- a/ci/config_tpl/juju2/bundle_tpl/haclusters.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/haclusters.yaml
@@ -16,13 +16,13 @@
prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
{% if os.network.controller != 'ocl' %}
-# hacluster-heat:
-# charm: "./{{ ubuntu.release }}/hacluster"
-# options:
-# corosync_transport: unicast
-# cluster_count: 3
+ hacluster-heat:
+ charm: "./{{ ubuntu.release }}/hacluster"
+ options:
+ corosync_transport: unicast
+ cluster_count: 3
{% if os.network.ipv6 %}
-# prefer-ipv6: {{ os.network.ipv6 }}
+ prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
{% endif %}
hacluster-horizon:
diff --git a/ci/config_tpl/juju2/bundle_tpl/harelations.yaml b/ci/config_tpl/juju2/bundle_tpl/harelations.yaml
index 212516c5..8a4a2474 100644
--- a/ci/config_tpl/juju2/bundle_tpl/harelations.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/harelations.yaml
@@ -1,6 +1,6 @@
{% if os.ha.mode == 'ha' %}
{% if os.network.controller != 'ocl' %}
-# - [ 'heat:ha', 'hacluster-heat:ha' ]
+ - [ 'heat:ha', 'hacluster-heat:ha' ]
- [ 'ceilometer:ha', 'hacluster-ceilometer:ha' ]
{% endif %}
- [ 'mysql:ha', 'hacluster-mysql:ha' ]
@@ -10,7 +10,5 @@
- [ 'neutron-api:ha', 'hacluster-neutron:ha' ]
- [ 'nova-cloud-controller:ha', 'hacluster-nova:ha' ]
- [ 'openstack-dashboard:ha', 'hacluster-horizon:ha' ]
-{% if os.beta.hacluster_ceph_radosgw %}
- [ 'ceph-radosgw:ha', 'hacluster-ceph-radosgw:ha' ]
{% endif %}
-{% endif %}
diff --git a/ci/config_tpl/juju2/bundle_tpl/heat.yaml b/ci/config_tpl/juju2/bundle_tpl/heat.yaml
index 175283ce..6e26ac7f 100644
--- a/ci/config_tpl/juju2/bundle_tpl/heat.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/heat.yaml
@@ -1,6 +1,6 @@
heat:
charm: "./{{ ubuntu.release }}/heat"
- num_units: 1
+ num_units: {{ unit_qty() }}
{% if os.service.bindings %}
bindings:
"": *oam-space
@@ -17,8 +17,10 @@
{% endif %}
worker-multiplier: *worker-multiplier
{% if os.ha.mode == 'ha' %}
-# vip: {{ opnfv.vip.heat }}
+ vip: {{ opnfv.vip.heat }}
{% endif %}
to:
- - "lxd:nodes/0"
+{% for unit_id in to_select() %}
+ - "lxd:nodes/{{ unit_id }}"
+{% endfor %}
{# Empty block to avoid bad block trim #}
diff --git a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
index 87f6346a..f7ecc708 100644
--- a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
@@ -9,7 +9,7 @@
{% endif %}
options:
innodb-buffer-pool-size: 256M
- max-connections: 2000
+ max-connections: 4000
#use-https: "yes"
#https-service-endpoints: "True"
#performance-schema: true