Containerize Cinder-volume for HA
authorDamien Ciabrini <dciabrin@redhat.com>
Thu, 8 Jun 2017 12:31:23 +0000 (08:31 -0400)
committerDamien Ciabrini <dciabrin@redhat.com>
Thu, 8 Jun 2017 12:31:40 +0000 (08:31 -0400)
commitfdb233e64e3d78014dd7e351abfed5aec5035866
treea77ee67b125521abb8d90f3d613fa2599adc33cf
parenta42b93d503690cb56d6a1053759f5b9a9a65fd4e
Containerize Cinder-volume for HA

This service allows configuring and deploying cinder-volume
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 cinder-volume. 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.

Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Partial-Bug: #1668920

Depends-On: I95ad4dd89b47396bea672813d87de35e64c04b2d

Change-Id: Ib6396219c3d9484c533f6f9995d565091a197bbb
docker/services/pacemaker/cinder-volume.yaml [new file with mode: 0644]