b56a278aa4
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 |
||
---|---|---|
.. | ||
environment.d | ||
install.d | ||
os-apply-config/etc/swift | ||
os-refresh-config/configure.d | ||
element-deps | ||
README.md | ||
source-repository-swift |
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