Under pressure, the default monitor timeout value of 20 seconds is not
enough to prevent unnecessary failovers of the ovn-dbs pacemaker resource.
While spawning a few VMs in the same time this could lead to unnecessary
movements of master DB, then re-connections of ovn-controllers (slaves are
read-only), further peaks of load on DBs, and at the end it could lead to
snowball effect. Now this value can be configurable by
OVNDBSPacemakerTimeout which will configure
tripleo::profile::pacemaker::ovn_dbs_bundle (default is set to 60s)
Reviewed: https:/ /review. opendev. org/692130 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=436b72550ec 2b1940b642c4b5d 7e208e69c2b783
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 436b72550ec2b19 40b642c4b5d7e20 8e69c2b783
Author: Kamil Sambor <email address hidden>
Date: Thu Oct 17 16:06:26 2019 +0200
Add configurable monitor timeouts for ovn dbs
Under pressure, the default monitor timeout value of 20 seconds is not akerTimeout which will configure :profile: :pacemaker: :ovn_dbs_ bundle (default is set to 60s)
enough to prevent unnecessary failovers of the ovn-dbs pacemaker resource.
While spawning a few VMs in the same time this could lead to unnecessary
movements of master DB, then re-connections of ovn-controllers (slaves are
read-only), further peaks of load on DBs, and at the end it could lead to
snowball effect. Now this value can be configurable by
OVNDBSPacem
tripleo:
Depends-On: https:/ /review. opendev. org/#/c/ 692119/ 1b3b224e5e1672f b9f12bcb110 6356b13291605d8 f2044f3069) 159cf0d875fb87f 37549ced53)
Signed-off-by: Kamil Sambor <email address hidden>
Closes-Bug: #1853000
Change-Id: I1afb5f2ef31ec6
(cherry picked from commit ad1ef91aa4158c9
(cherry picked from commit ca335af7cba23a8