diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2018-06-22 16:57:44 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2018-06-22 17:16:04 +0400 |
commit | 3772a3e49e09f6cf9864c56a3ac0170cc0134329 (patch) | |
tree | 4633104a373c13b4f57c1adcb2dec1e080ccf37a /mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2 | |
parent | 8c6edbc3875a1574175b7263b566c57704ea718a (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_control.yml.j2')
-rw-r--r-- | mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2 | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2 b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2 index ceb3622b1..38fe06a89 100644 --- a/mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-common-ha/openstack_control.yml.j2 @@ -67,9 +67,37 @@ parameters: cluster_node03_address: ${_param:openstack_control_node03_address} nova_vncproxy_url: https://${_param:cluster_public_host}:6080 glusterfs_version: '3.13' + nova: + controller: &db_conn_recycle_time + database: + connection_recycle_time: ${_param:db_connection_recycle_time} + cinder: + controller: + <<: *db_conn_recycle_time + neutron: + server: + <<: *db_conn_recycle_time + vlan_aware_vms: true + root_helper_daemon: false + keystone: + server: + <<: *db_conn_recycle_time + cacert: /etc/ssl/certs/mcp_os_cacert + openrc_extra: + volume_device_name: vdc + glance: + server: + <<: *db_conn_recycle_time + aodh: + server: + <<: *db_conn_recycle_time + panko: + server: + <<: *db_conn_recycle_time {%- if conf.MCP_VCP %} heat: server: + <<: *db_conn_recycle_time metadata: host: ${_param:openstack_proxy_control_address} port: 8000 @@ -119,20 +147,14 @@ parameters: diagnostics.client-log-level: WARNING diagnostics.brick-log-level: WARNING {%- endif %} - neutron: - server: - vlan_aware_vms: true - root_helper_daemon: false - keystone: - server: - cacert: /etc/ssl/certs/mcp_os_cacert - openrc_extra: - volume_device_name: vdc haproxy: proxy: listen: heat_cloudwatch_api: enabled: false + neutron_api: + # Set source balancing + type: heat bind: server: control: |