Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Add posibilities to set ovndbs monitor interval
Browse files Browse the repository at this point in the history
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/779919/
Change-Id: Id836676826f6e7c97ef8e3d665ab3e467ad055ba
(cherry picked from commit 9ece6f9)
  • Loading branch information
mrkisaolamb committed Mar 11, 2021
1 parent 9e3af44 commit 7281bb0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deployment/ovn/ovn-dbs-pacemaker-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ parameters:
default: ''
description: Override the private key size used when creating the
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:
puppet_debug_enabled: {get_param: ConfigDebug}
Expand Down Expand Up @@ -158,6 +166,8 @@ outputs:
- 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::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:
if:
- use_external_load_balancer
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 7281bb0

Please sign in to comment.