Remove local swift ring directory check

This fix will remove the local check for the swift ring directory.
Assuming the upgrade script is executed on the deployment host,
the swift ring files are not necessarily on this host, rather than
the first swift server.

Change-Id: Ie1f07a7884b669e2a0c44868711ce76070c8e4bf
Closes-Bug: #1546225
This commit is contained in:
Bjoern Teipel 2016-02-16 11:39:55 -06:00 committed by Jesse Pretorius (odyssey4me)
parent aff56426c4
commit 99217b3aa1
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ pushd ${MAIN_PATH}/playbooks
RUN_TASKS+=("os-ceilometer-install.yml")
# Send the swift rings to the first swift host if swift was installed in "v10.x".
if [ "$(ansible 'swift_hosts' --list-hosts)" != "No hosts matched" ] && [ -d "/etc/swift/rings" ];then
if [ "$(ansible 'swift_hosts' --list-hosts)" != "No hosts matched" ]; then
RUN_TASKS+=("${UPGRADE_PLAYBOOKS}/swift-ring-adjustments.yml")
fi