openstack-armada-app/openstack-helm-infra/files
Martin, Chen 2f664927c4 Update mariadb-server suspect_timeout to default value to align
with garbd's suspect_timeout

In openstack-helm-infra, it launch evs.suspect_timeout=PT30S
for mariadb-server in configmap, mariadb-etc. This setting is
for three mariadb-server pod deployment, every mariadb-server
with same setting suspect_timeout=30s. But after change to two
mariadb-server and one garbd arbitrator. Setting in configmap
mariadb-etc evs.suspect_timeout=PT30S, only takes effect for 2
mariadb-server, for garbd arbitrator, it use galera default
setting evs.suspect_timeout=PT5S. If mariadb-server-1 exit
abnormal, after 5s, garbd arbitrator suspects mariadb-server-1
is dead, but as not reach 30s, mariadb-server-0 thinks mariadb-server-1
is not dead. In this state, quorum fail, garbd arbitrator and
mariadb-server-0 both set to none primary component, service
down.
For fix solution, set value.conf.data.config_override to override
wsrep_provider_option in mariadb helm chart, which makes garbd
arbitrator and mariadb-server launch with same setting for
"evs.suspect_timeout=PT5S", default value. By this way, mariadb
server recovery time will also improve. To update setting for
"evs.suspect_timeout", it should both update override for mariadb
and garbd helm chart.

Setting for "gmcast.listen_addr=tcp://0.0.0.0:<port>", takes
effect for both ipv4 and ipv6. So keeps such setting.

Reference link for wsrep option and galera cluster quorum
https://mariadb.com/kb/en/wsrep_provider_options/
https://galeracluster.com/library/documentation/weighted-quorum.html

Closes-Bug: 1888546

Change-Id: I06983cf0d91d4d9aa88f352e64b1e6571b816ec6
Signed-off-by: Martin, Chen <haochuan.z.chen@intel.com>
2020-08-10 10:38:39 +08:00
..
0001-Add-imagePullSecrets-in-service-account.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0002-Set-Min-NGINX-handles.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0003-Partial-revert-of-31e3469d28858d7b5eb6355e88b6f49fd6.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0004-Fix-pod-restarts-on-all-workers-when-worker-added-re.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0005-Add-io_thread_pool-for-rabbitmq.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0006-Enable-override-of-rabbitmq-probe-parameters.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0007-Fix-ipv6-address-issue-causing-mariadb-ingress-not-ready.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0008-Fix-rabbitmq-could-not-bind-port-to-ipv6-address-iss.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0009-Enable-override-of-mariadb-server-probe-parameters.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0010-Mariadb-use-utf8_general_ci-collation-as-default.patch Upgrade openstack-helm-infra 2020-06-17 22:12:45 +08:00
0011-Add-mariadb-database-config-override-to-support-ipv6.patch Fix the second mariadb node could not join cluster issue. 2020-07-07 17:23:41 +08:00
0012-Add-tolerations-to-rabbitmq-chart.patch Fix apply of stx-openstack when host is locked 2020-07-23 17:08:36 +03:00
0013-enable-Values.conf.database.config_override-for-mari.patch Update mariadb-server suspect_timeout to default value to align 2020-08-10 10:38:39 +08:00
repositories.yaml Updating helm build process to not require networking 2019-01-08 15:14:15 -06:00