Fix Swift ring management in container deployments
authorChristian Schwede <cschwede@redhat.com>
Mon, 29 May 2017 07:56:55 +0000 (09:56 +0200)
committerChristian Schwede <cschwede@redhat.com>
Wed, 7 Jun 2017 13:45:04 +0000 (15:45 +0200)
commit410e05ba63cad12d99f33717d116213a38413740
tree8ed94e534332b4991804a45816d73a704653fbfa
parent0a75929adeea9ea7a53ad5a45c9bb1f1b6962b9b
Fix Swift ring management in container deployments

The ring up- and downloading was never executed if run within a
containerized environment. This is due to the fact that this manifest
gets executed within step 6(5) only. There is also an ordering issue,
which actually tries to create the tarballs before rebalancing.

This patch fixes the step conditions and also chains the tarball
creation to the rebalance.

The check to query rings on all nodes can now be disabled. This is
required on containerized environments: the local ring will be modified
and rebalanced, but rings on the existing servers are not yet modified.
Therefore a recon-check will fail, and needs to be disabled.

Closes-Bug: 1694211
Change-Id: I51c5795b9893d797bd73e059910f17a98f04cdbe
manifests/profile/base/swift/ringbuilder.pp
releasenotes/notes/swift-container-ring-mgmt-ecf65b9fbae0d297.yaml [new file with mode: 0644]