From b43810a36635f1d0fe9291b157506fcf20272adf Mon Sep 17 00:00:00 2001 From: Brian Rosmaita Date: Thu, 7 Feb 2019 16:46:49 -0500 Subject: [PATCH] Glance should not reference Cinder v1 Cinder v1 was removed over a year ago. Change the cinder template URLs devstack defines in the glance-api.conf to use cinder v3 instead. Change-Id: I4a68dc0b53631be0708e7411c37619dd6dfd4fa6 --- lib/glance | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/glance b/lib/glance index 94f6a22931..8001157e58 100644 --- a/lib/glance +++ b/lib/glance @@ -236,8 +236,8 @@ function configure_glance { CINDER_SERVICE_HOST=${CINDER_SERVICE_HOST:-$SERVICE_HOST} CINDER_SERVICE_PORT=${CINDER_SERVICE_PORT:-8776} - iniset $GLANCE_API_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/%(project_id)s" - iniset $GLANCE_CACHE_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/%(project_id)s" + iniset $GLANCE_API_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/%(project_id)s" + iniset $GLANCE_CACHE_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/%(project_id)s" fi if [[ "$WSGI_MODE" == "uwsgi" ]]; then