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:
Michael Polenchuk 2016-07-06 11:34:27 +03:00
parent 9126c46503
commit 58412e8b5a
1 changed files with 4 additions and 1 deletions

View File

@ -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: