Skip to content

Commit 2a9900d

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Glance should not reference Cinder v1"
2 parents 51e1e08 + b43810a commit 2a9900d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/glance

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ function configure_glance {
236236
CINDER_SERVICE_HOST=${CINDER_SERVICE_HOST:-$SERVICE_HOST}
237237
CINDER_SERVICE_PORT=${CINDER_SERVICE_PORT:-8776}
238238

239-
iniset $GLANCE_API_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/%(project_id)s"
240-
iniset $GLANCE_CACHE_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/%(project_id)s"
239+
iniset $GLANCE_API_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/%(project_id)s"
240+
iniset $GLANCE_CACHE_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/%(project_id)s"
241241
fi
242242

243243
if [[ "$WSGI_MODE" == "uwsgi" ]]; then

0 commit comments

Comments
 (0)