Migrate Swift ring handling from tripleo-heat-templates to puppet-tripleo
authorChristian Schwede <cschwede@redhat.com>
Fri, 17 Feb 2017 16:31:52 +0000 (16:31 +0000)
committerChristian Schwede <cschwede@redhat.com>
Wed, 5 Apr 2017 14:09:56 +0000 (16:09 +0200)
commit3412150d91dc7fe6e9f168b4ffdbb4d54c39fc55
treebdde8500bcfb44139e67c82a302400324ff65012
parentccb78ad309d36e9f68983330ed02698b8a5d0666
Migrate Swift ring handling from tripleo-heat-templates to puppet-tripleo

This allows decoupling the Swift ringbuilding logic from the Controller
and ObjectStorage roles. A follow up patch will modify
tripleo-heat-templates and use this modified class.

Actually this downloads the Swift rings even if ring building is
disabled or if there is no need to rebalance. This is required, because
operators can disable ring building, but use the same mechanism to
distribute pre-built rings to the nodes.

If ring building is disabled, these won't be uploaded at the end back to
the undercloud.

Related-Bug: 1665641
Change-Id: Ifd6fa5b398d98e8998630ea0c9a2ce9867ceba2b
manifests/profile/base/swift/ringbuilder.pp
spec/classes/tripleo_profile_base_swift_ringbuilder.rb [new file with mode: 0644]