Containerize Manila Share for HA
authorVictoria Martinez de la Cruz <victoria@redhat.com>
Tue, 11 Jul 2017 19:42:15 +0000 (16:42 -0300)
committerVictoria Martinez de la Cruz <victoria@redhat.com>
Wed, 16 Aug 2017 18:48:21 +0000 (15:48 -0300)
commit043bfeeb7295b40d86277a3c73418ee03263fedf
tree7485ac8d5c18d520db19b4d408a417312597799a
parent4dabd2c487d998caf43fcee9f906ba27985242f6
Containerize Manila Share for HA

This service allows configuring and deploying manila-share
containers in a HA overcloud managed by pacemaker.

The containers are managed and run by pacemaker. Pacemaker runs the
standard Kolla image but overrides the initial command so that
it explicitely calls manila-share. This way, we shield ourselves
from any unexpected future change in Kolla.
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.

Based on work done in fdb233e64e3d78014dd7e351abfed5aec5035866

Partial-Bug: #1668922

Change-Id: Ifa94c506db5eb667690a19d594115a93d2a790b2
Depends-On: I797eea2f7788f65411964ccb852b5707e916416f
docker/services/pacemaker/manila-share.yaml [new file with mode: 0644]