From: Tim Rozet Date: Tue, 19 Jul 2016 19:12:21 +0000 (-0400) Subject: Fixes unable to upload glance images on undercloud X-Git-Tag: colorado.1.0~112^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F17161%2F2;p=apex.git Fixes unable to upload glance images on undercloud JIRA: APEX-207 Change-Id: I6fb8aa003ea485ce49d882b6c2a7842dc7b814cd Signed-off-by: Tim Rozet --- diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index 992d22af..3cb2826c 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -200,6 +200,10 @@ fi source stackrc set -o errexit +# Workaround for APEX-207 where sometimes swift proxy is down +if ! sudo systemctl status openstack-swift-proxy > /dev/null; then + sudo systemctl restart openstack-swift-proxy +fi echo "Uploading overcloud glance images" openstack overcloud image upload