StarlingX OpenStack Armada App
Go to file
Martin, Chen 4340d9e8e6 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: Ie26fd33488616b13bc16102dd92d1be2143c82ce
Signed-off-by: Martin, Chen <haochuan.z.chen@intel.com>
2020-08-21 16:21:07 +08:00
openstack-helm Upgrade openstack-helm 2020-06-17 22:13:32 +08:00
openstack-helm-infra Update mariadb-server suspect_timeout to default value to align 2020-08-21 16:21:07 +08:00
python-k8sapp-openstack Update mariadb-server suspect_timeout to default value to align 2020-08-21 16:21:07 +08:00
stx-openstack-helm Update mariadb-server suspect_timeout to default value to align 2020-08-21 16:21:07 +08:00
.gitignore Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00
.gitreview Update .gitreview for r/stx.4.0 2020-07-08 08:58:46 -07:00
.zuul.yaml Adding job to upload commits to GitHub 2020-02-06 13:12:22 -05:00
centos_build_layer.cfg Build layering, add layer build config file and tarball lst 2019-10-15 15:12:28 +08:00
centos_pkg_dirs Enable helm/armada plugin delivery with the application 2020-05-27 15:05:02 -04:00
centos_pkg_dirs_containers Config file changes to add 'stx-openstack-helm helm-charts/garbd helm-charts/nginx-ports-control ' after relocation from 'stx-config' 2019-09-04 10:55:02 -04:00
centos_tarball-dl.lst Update download list for openstack-helm upgrade 2020-06-17 22:18:46 +08:00
requirements.txt Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00
test-requirements.txt Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00
tox.ini Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00