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:
parent
aff56426c4
commit
99217b3aa1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue