Containerize RabbitMQ for HA
authorDan Prince <dprince@redhat.com>
Mon, 3 Apr 2017 18:12:36 +0000 (14:12 -0400)
committerDamien <dciabrin@redhat.com>
Wed, 24 May 2017 19:54:24 +0000 (15:54 -0400)
commitbccfedc84d0f913b6a7c3ab249e9fd41f94dbd9a
tree7f8b0ed8ab1f7094ba2ba123471670500e92e99d
parentd0696b9a9b3685f8215c97111814d6f00932ca57
Containerize RabbitMQ for HA

This service allows configuring and deploying RabbitMQ containers
in a HA overcloud managed by pacemaker.

The containers are managed and run by pacemaker. Inside there is
pacemaker_remote which will invoke the resource agent managing galera.
The resources themselves are created via puppet-pacemaker inside a
short-lived container used for this purpose (mysql_init_bundle).
This container needs to use the 'docker_config' section to invoke
puppet (as opposed to 'docker_puppet_tasks'), because due to the HA
composability each resource creation needs to happen on the bootstrap
node of that service and 'docker_puppet_tasks' will only run on the
controller/primary role.

Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Co-Authored-By: John Eckersberg <jeckersb@redhat.com>
Closes-Bug: #1692909

Depends-On: I0722e4a4d4716f477e8304cfa1aadd3eef7c2f31

Change-Id: I942737134385af775cade40c2d69516d4fe31a99
docker/services/pacemaker/rabbitmq.yaml [new file with mode: 0644]