tripleo-image-elements/elements/swift
Richard Su b56a278aa4 Correct SELinux file contexts
OpenStack components installed via source are placed under
/opt/stack/venvs. The files under /opt/stack/venvs/<component>/bin
do not have the correct SElinux file contexts. This change
applies the same context as they would have received if they had
been installed by a rpm package under /usr/bin.

Closes-Bug: 1340499
Change-Id: Ibffa1b986b52a1dc28de8d3b8056eed92aae9ee7
2014-07-19 23:54:41 -07:00
..
environment.d Wire in _EXTRA_INSTALL_OPTS... 2014-04-19 08:08:45 -04:00
install.d Correct SELinux file contexts 2014-07-19 23:54:41 -07:00
os-apply-config/etc/swift Rename os-config-applier to os-apply-config 2014-07-09 06:00:27 +00:00
os-refresh-config/configure.d Place swift-servers in appropriate zones 2014-04-16 16:40:59 +01:00
element-deps Correct SELinux file contexts 2014-07-19 23:54:41 -07:00
README.md Place swift-servers in appropriate zones 2014-04-16 16:40:59 +01:00
source-repository-swift Don't use /cgit/ urls for git. 2014-02-21 15:25:12 +13:00

Common element for swift elements

Configuration

swift: devices: r1z-192.0.2.6:%PORT%/d1 - A comma separated list of swift storage devices to place in the ring file. - This MUST be present in order for o-r-c to successfully complete. zones: - Servers are divided amongst separate zones if the swift.zones metadata is greater than the default of 1. Servers are placed in zones depending on their rank in the scaled-out list of Swift servers in the yaml template used to build the overcloud stack. The scaleout rank N is: SwiftStorage|controller. The appropriate zone is calculated as: zone = N % swift.zones + 1. - To enable this calculation, the devices data takes the form of: r1z%%-192.0.2.6:%PORT%/d1 hash: randomstring - A hash used to salt paths on storage hosts