diff options
author | Tim Rozet <trozet@redhat.com> | 2016-07-19 15:12:21 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-07-20 16:01:52 -0400 |
commit | 255f5ea0e592dcc86bc24121bf9e00e29f62f573 (patch) | |
tree | ac14bd0a9364b3910eee4ac9f6ceef2028eae5e9 | |
parent | 40925d0cdc63e557ef04569642875cd07b8ed7ce (diff) |
Fixes unable to upload glance images on undercloud
JIRA: APEX-207
Change-Id: I6fb8aa003ea485ce49d882b6c2a7842dc7b814cd
Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-x | lib/overcloud-deploy-functions.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |