aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-06-22 16:57:44 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-06-22 17:16:04 +0400
commit3772a3e49e09f6cf9864c56a3ac0170cc0134329 (patch)
tree4633104a373c13b4f57c1adcb2dec1e080ccf37a /mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2
parent8c6edbc3875a1574175b7263b566c57704ea718a (diff)
[ha] Update pymysql to version 0.8
* get latest pymysql from UCA repo * set DB connection recycle time to avoid issue with broken database connection during query (MySQL server has gone away) * set haproxy source balacing mode for neutron API to avoid race condition with duplicate security groups * get libvirt/qemu from UCA repo on compute nodes since main process of libvirt exits (is killed by 11/SEGV [segfault]) during volume attaching operation Change-Id: Iead5ecc561683876c476357f4a4de8780775aa7b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2')
-rw-r--r--mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2
index 15b93187d..1e641b6bd 100644
--- a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_init.yml.j2
@@ -123,6 +123,7 @@ parameters:
openstack_region: RegionOne
admin_email: root@localhost
+ db_connection_recycle_time: 300
# Neutron osv/nodvr
neutron_control_dvr: 'False'
neutron_global_physnet_mtu: 1500
@@ -247,6 +248,10 @@ parameters:
source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/${_param:openstack_version} main"
key_id: EC4926EA
key_server: keyserver.ubuntu.com
+ pin:
+ - pin: 'release o=Canonical'
+ priority: 1200
+ package: 'python-pymysql'
kernel:
sysctl:
net.ipv4.tcp_congestion_control: yeah