docker bootstrap service commands
authorDan Prince <dprince@redhat.com>
Wed, 17 May 2017 12:58:57 +0000 (08:58 -0400)
committerDan Prince <dprince@redhat.com>
Mon, 22 May 2017 16:04:42 +0000 (12:04 -0400)
commit51da97d04a2cbc81ad4b56a8a91c6dd43d5afe81
tree8edc34990ff94bd8db120fe45825cbf2458b1f36
parente8ab5381dcdc9321aab8d3bb0dcb402439f89664
docker bootstrap service commands

This patch guards db syncs and initialization code from executing
on multiple nodes at the same time by using the new
bootstrap_host_exec script. This helper script checks to make
sure the container is executing on the "bootstrap host" for the
specified service (arg 0) and then if it matches runs the
specified command.

Depends-On: If25f217bbb592edab4e1dde53ca99ed93c0e146c
Depends-On: Ic1585bae27c318bd6bafc287e905f2ed250cce0f

Change-Id: I0c864ca093ea476248b619d8c88477ef0b64e2eb
Closes-Bug: 1688380
docker/services/aodh-api.yaml
docker/services/containers-common.yaml
docker/services/glance-api.yaml
docker/services/gnocchi-api.yaml
docker/services/heat-engine.yaml
docker/services/ironic-api.yaml
docker/services/keystone.yaml
docker/services/mistral-api.yaml
docker/services/neutron-api.yaml
docker/services/nova-api.yaml
docker/services/panko-api.yaml