Add option to disable "d1" Swift device
authorChristian Schwede <cschwede@redhat.com>
Thu, 27 Oct 2016 14:54:35 +0000 (16:54 +0200)
committerChristian Schwede <cschwede@redhat.com>
Fri, 28 Oct 2016 06:49:51 +0000 (08:49 +0200)
commit813b3dc4fc94745719afce7192ac24b153d1dbd8
tree86fd2d66ad34af7e6c036935c6c36778d317636a
parente60c5377fb4b6dd96a8415b03e88005b3eab603c
Add option to disable "d1" Swift device

A default TripleO installation uses a local directory named "d1" to be
used by Swift. With SwiftRawDisks set it is highly unlikely that that an
operator wants to use this any longer, because it affects system
perforamce and might result in an overfilled the system disk. In this
case d1 should be no longer when building rings.

This patch makes it possible to disable the d1 device usage in the ring
building process by using a new option "SwiftUseLocalDir". This is set
by default to true, not changing the default behavior. If set to false,
the d1 device won't be used when building rings.

Closes-Bug: 1634051
Change-Id: Ia9ad38e3ffa533e170f4cedd0518d830e9b2fa69
puppet/services/swift-ringbuilder.yaml