Add posibilities to set ovndbs monitor interval

Add posibilities to configure ovn dbs monitor interval
in tht by OVNDBSPacemakerMonitorInterval (default 30s).
Under load, this can create extra stress and since the
timeout has already been bumped, it makes sense to bump
this interval to a higher value as a trade off
between detecting a failure and stressing the service.

Depends-On: https://review.opendev.org/#/c/710407/
Change-Id: Id836676826f6e7c97ef8e3d665ab3e467ad055ba
This commit is contained in:
Kamil Sambor 2020-02-28 09:25:27 +01:00
parent 0968b66780
commit 9ece6f97af
2 changed files with 19 additions and 0 deletions

View File

@ -103,6 +103,14 @@ parameters:
default: '' default: ''
description: Override the private key size used when creating the description: Override the private key size used when creating the
certificate for this service certificate for this service
OVNDBSPacemakerMonitorIntervalSlave:
description: monitor interval for ovn dbs resource in seconds
type: number
default: 30
OVNDBSPacemakerMonitorIntervalMaster:
description: monitor interval for ovn dbs resource in seconds
type: number
default: 10
conditions: conditions:
puppet_debug_enabled: {get_param: ConfigDebug} puppet_debug_enabled: {get_param: ConfigDebug}
@ -164,6 +172,8 @@ outputs:
- tripleo::profile::pacemaker::ovn_dbs_bundle::dbs_timeout: {get_param: OVNDBSPacemakerTimeout} - tripleo::profile::pacemaker::ovn_dbs_bundle::dbs_timeout: {get_param: OVNDBSPacemakerTimeout}
- tripleo::profile::pacemaker::ovn_dbs_bundle::replication_probe_interval: {get_param: OVNDBSReplicationInterval} - tripleo::profile::pacemaker::ovn_dbs_bundle::replication_probe_interval: {get_param: OVNDBSReplicationInterval}
- tripleo::profile::pacemaker::ovn_dbs_bundle::force_ocf: true - tripleo::profile::pacemaker::ovn_dbs_bundle::force_ocf: true
- tripleo::profile::pacemaker::ovn_dbs_bundle::monitor_interval_slave: {get_param: OVNDBSPacemakerMonitorIntervalSlave}
- tripleo::profile::pacemaker::ovn_dbs_bundle::monitor_interval_master: {get_param: OVNDBSPacemakerMonitorIntervalMaster}
- tripleo::haproxy::ovn_dbs_manage_lb: - tripleo::haproxy::ovn_dbs_manage_lb:
if: if:
- use_external_load_balancer - use_external_load_balancer

View File

@ -0,0 +1,9 @@
---
features:
- |
Add posibilities to configure ovn dbs monitor interval
in tht by OVNDBSPacemakerMonitorInterval (default 30s).
Under load, this can create extra stress and since the
timeout has already been bumped, it makes sense to bump
this interval to a higher value as a trade off
between detecting a failure and stressing the service.