Tag the ha containers with 'pcmklatest' at deploy time
authorMichele Baldessari <michele@acksyn.org>
Tue, 8 Aug 2017 07:46:26 +0000 (09:46 +0200)
committerMichele Baldessari <michele@acksyn.org>
Fri, 18 Aug 2017 13:59:17 +0000 (15:59 +0200)
commitbf02ad9d7cbe0b9cb9bc25689dd8dcc1a7105f2d
treed0037c2b654d2fa3dbb2337ba67e13db7d4a995d
parent9436d87e7e3b2767bf8dcb69e9fc0eb62173e6fb
Tag the ha containers with 'pcmklatest' at deploy time

We need to tag the HA containers with a special tag so
that the RA definition never changes. We do this step in THT
as opposed to puppet because we need to guarantee
that all images are tagged on all nodes *before* step 2 where the bundle
gets created.

NB: Getting the image name without the tag will require some more
yaql work to get all the cases right. Right now this works only
if we enforce that the image has a ':tag' at the end of the name.
So far this is always the case. If things change we will need to
amend this code.

Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Co-Authored-By: Sofer Athlan-Guyot <sathlang@redhat.com>
Change-Id: I362e6cf26fba77d3f949b7d2fc4b35a3eab9087e
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/manila-share.yaml
docker/services/pacemaker/rabbitmq.yaml