Skip maintenance mode if reconfig is in action
In maintenance mode pacemaker services couldn't be restarted in order to new settings to take effect, so miss out this task. Change-Id: I0a45f5b3bf6edb608c33ce3e59a89aeb4495f594 Closes-Bug: #1597321
This commit is contained in:
parent
9126c46503
commit
58412e8b5a
|
@ -60,7 +60,10 @@
|
|||
requires: [primary-cluster, cluster]
|
||||
required_for: [deploy_end]
|
||||
condition:
|
||||
yaql_exp: "$.status = 'ready' and changedAny($.network_metadata.nodes.keys(), $.get('corosync_roles'))"
|
||||
yaql_exp: >
|
||||
$.status = 'ready' and
|
||||
changedAny($.network_metadata.nodes.keys(), $.get('corosync_roles')) and
|
||||
not changed($.get('configuration', {}))
|
||||
cross-depended-by:
|
||||
- name: /^(primary-)?(database|rabbitmq)$/
|
||||
parameters:
|
||||
|
|
Loading…
Reference in New Issue