Allow to set pacemaker cluster properties
There is no ways to set pacemaker stonith-timeout values to something different than the default values. This change would allow a user to set any pacemaker cluster properties using PacemakerProperties. PacemakerProperties: 'stonith-timeout': property: 'stonith-timeout' value: '120s' Change-Id: Ied77623953fd97dce7de1d529e98d5483a42e31b
This commit is contained in:
parent
527afb6db7
commit
67bd75c8ba
@ -112,6 +112,18 @@ parameters:
|
||||
safer value of 120s.
|
||||
constraints:
|
||||
- allowed_pattern: "([1-9][0-9]*s)"
|
||||
PacemakerProperties:
|
||||
type: json
|
||||
description: |
|
||||
Pacemaker properties that are set at cluster creation
|
||||
step. The JSON should have the following structure:
|
||||
{
|
||||
'stonith-timeout': {
|
||||
property: 'stonith-timeout'
|
||||
value: '120s'
|
||||
}
|
||||
}
|
||||
default: {}
|
||||
|
||||
conditions:
|
||||
pcmk_tls_priorities_set:
|
||||
@ -147,6 +159,7 @@ outputs:
|
||||
tripleo::fencing::deep_compare: true
|
||||
enable_fencing: {get_param: EnableFencing}
|
||||
hacluster_pwd: {get_param: PcsdPassword}
|
||||
tripleo::profile::base::pacemaker::cluster_properties: {get_param: PacemakerProperties}
|
||||
tripleo::profile::base::pacemaker::remote_authkey: {get_param: PacemakerRemoteAuthkey}
|
||||
tripleo::profile::base::pacemaker::pcsd_bind_addr:
|
||||
str_replace:
|
||||
|
Loading…
Reference in New Issue
Block a user