summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-02-15 05:03:30 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-02-15 05:03:30 -0600
commit90f76a2465641d98e977e4e6a5fecbd698384ef4 (patch)
treeb802656c090a9a46d5e0bd411e6d685111edf895 /ci/config_tpl/juju2/bundle_tpl
parent00e22c99795b4a19e1b1c4cd19af766796cb9b65 (diff)
to correct mysql error.
Change-Id: I4b03bf8f61b24ad622cee449ed6febd4f97f2c9d 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/mysql.yaml5
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml1
2 files changed, 4 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
index df655eac..5c0fee6c 100644
--- a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml
@@ -8,8 +8,8 @@
{% endif %}
options:
{% if os.ha.mode == 'ha' %}
- innodb-buffer-pool-size: 128M
- max-connections: 600
+ innodb-buffer-pool-size: 1G
+ max-connections: 4000
{% else %}
innodb-buffer-pool-size: 1G
max-connections: 4000
@@ -19,6 +19,7 @@
#key: "8507EFA5"
root-password: {{ get_password('mysql_root') }}
sst-password: {{ get_password('mysql_sst') }}
+ sst-method: rsync
{% if os.network.ipv6 %}
prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
diff --git a/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml b/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
index 74a9b88b..29a5f405 100644
--- a/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
@@ -23,6 +23,7 @@
{% if opnfv.storage_dict.ceph is defined %}
ceph-osd-replication-count: {{ unit_ceph_qty() }}
{% endif %}
+{% if os.beta.huge_pages %}
hugepages: "2048"
{% endif %}
{% if os.beta.cpu_pin %}