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

Revert adding the cluster_mm and cluster_mm_off tasks
which turn the maintenance mode on the cluster nodes.

Change-Id: I6fe7b24d5fb4610ae33ecaabfb6648efabc32dfc
Releted-Bug: 1661177
This commit is contained in:
Dmitry Ilyin 2017-02-21 18:59:01 +03:00 committed by Vladimir Kuklin
parent a151347a3f
commit a87e926490
2 changed files with 0 additions and 29 deletions

View File

@ -154,18 +154,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