From 19c5e62a04902e19a603d5a55bcfc5f318a522cf Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Wed, 5 Aug 2015 15:53:21 +1000 Subject: [PATCH] Configure glance swift communication with v3 With the aim of moving everything fully over to v3 authentication we need to configure glance_store to use v3 when calling swift. Requires glance_store 0.8.0 Change-Id: I61e8c5a4136404077f5505ebc2edfe49841c244f Implements: bp keystonev3 --- lib/glance | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/glance b/lib/glance index f200dcaeea..b1b0f32f62 100644 --- a/lib/glance +++ b/lib/glance @@ -154,7 +154,10 @@ function configure_glance { iniset $GLANCE_SWIFT_STORE_CONF ref1 user $SERVICE_TENANT_NAME:glance-swift iniset $GLANCE_SWIFT_STORE_CONF ref1 key $SERVICE_PASSWORD - iniset $GLANCE_SWIFT_STORE_CONF ref1 auth_address $KEYSTONE_SERVICE_URI/v2.0/ + iniset $GLANCE_SWIFT_STORE_CONF ref1 auth_address $KEYSTONE_SERVICE_URI/v3 + iniset $GLANCE_SWIFT_STORE_CONF ref1 user_domain_id default + iniset $GLANCE_SWIFT_STORE_CONF ref1 project_domain_id default + iniset $GLANCE_SWIFT_STORE_CONF ref1 auth_version 3 # commenting is not strictly necessary but it's confusing to have bad values in conf inicomment $GLANCE_API_CONF glance_store swift_store_user