Fixes unable to upload glance images on undercloud 61/17161/2
authorTim Rozet <trozet@redhat.com>
Tue, 19 Jul 2016 19:12:21 +0000 (15:12 -0400)
committerTim Rozet <trozet@redhat.com>
Wed, 20 Jul 2016 20:01:52 +0000 (16:01 -0400)
JIRA: APEX-207

Change-Id: I6fb8aa003ea485ce49d882b6c2a7842dc7b814cd
Signed-off-by: Tim Rozet <trozet@redhat.com>
lib/overcloud-deploy-functions.sh

index 992d22a..3cb2826 100755 (executable)
@@ -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