From ffc1f8d426573f78e3a4bb88bd0246b59694bdcc Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Wed, 26 Nov 2014 04:00:33 -0800 Subject: [PATCH] Fix tools upload_image.sh utility The utility would fail due to the fact that the GLANCE_SERVICE_PROTOCOL was not set. Change-Id: Iff0b59274fa909895abd70c3a6d1da63dbd70483 Closes-bug: #1396567 --- tools/upload_image.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/upload_image.sh b/tools/upload_image.sh index d81a5c8dab..5d23f31b9c 100755 --- a/tools/upload_image.sh +++ b/tools/upload_image.sh @@ -37,6 +37,7 @@ die_if_not_set $LINENO TOKEN "Keystone fail to get token" # Glance connection info. Note the port must be specified. GLANCE_HOSTPORT=${GLANCE_HOSTPORT:-$GLANCE_HOST:9292} +GLANCE_SERVICE_PROTOCOL=${GLANCE_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL} for IMAGE in "$*"; do upload_image $IMAGE $TOKEN