Remove non-containerized pacemaker resources on upgrade
authormarios <marios@redhat.com>
Tue, 4 Jul 2017 13:52:26 +0000 (16:52 +0300)
committermarios <marios@redhat.com>
Thu, 20 Jul 2017 10:43:09 +0000 (13:43 +0300)
commitcdc3477b7780c751807fe18c3767762189cf03b4
treef7ccb4445de9ad5fd22caaa06717193fd64acf39
parenta34955d45135dc66477f2f162e76f9183762dd96
Remove non-containerized pacemaker resources on upgrade

Adds upgrade_tasks to remove the pacemaker resources using the
ansible-pacemaker module.

Resources are disabled and removed in step2 (called only on
bootstrap node) and then the cluster stop is moved to step3

The existing systemd/service call is kept but only to disable
services after they are disabled/deleted from the cluster.

Related-Bug: 1701485
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Change-Id: Ia597d240ea5834c50a8f6c4fac0b6ed417b8535c
docker/services/pacemaker/cinder-backup.yaml
docker/services/pacemaker/cinder-volume.yaml
docker/services/pacemaker/database/mysql.yaml
docker/services/pacemaker/database/redis.yaml
docker/services/pacemaker/haproxy.yaml
docker/services/pacemaker/rabbitmq.yaml
environments/docker-ha.yaml
puppet/services/pacemaker.yaml