Merge "Revert: Scale controllers up/down using pacemaker m-mode"

This commit is contained in:
Jenkins 2017-03-01 12:58:41 +00:00 committed by Gerrit Code Review
commit 10a537440c
2 changed files with 0 additions and 29 deletions

View File

@ -217,18 +217,6 @@
timeout: 120
cwd: /
- id: cluster_mm_off
type: shell
version: 2.1.0
role: [primary-controller, controller]
condition:
yaql_exp: "changedAny($.network_metadata.nodes.keys(), $.get('corosync_roles'))"
requires: [post_deployment_start]
required_for: [enable_quorum]
parameters:
cmd: crm node ready
timeout: 120
#PRE DEPLOYMENT
- id: rsync_core_puppet
type: sync

View File

@ -56,20 +56,3 @@
timeout: 600
test_post:
cmd: ruby /etc/puppet/modules/osnailyfacter/modular/cluster/health_post.rb
- id: cluster_mm
type: shell
version: 2.1.0
groups: [primary-controller, controller]
requires: [primary-cluster, cluster]
required_for: [deploy_end]
condition:
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:
cmd: crm node maintenance
timeout: 120