Browse code

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

Jamie Lennox authored on 2015/08/05 14:53:21
Showing 1 changed files
... ...
@@ -154,7 +154,10 @@ function configure_glance {
154 154
 
155 155
         iniset $GLANCE_SWIFT_STORE_CONF ref1 user $SERVICE_TENANT_NAME:glance-swift
156 156
         iniset $GLANCE_SWIFT_STORE_CONF ref1 key $SERVICE_PASSWORD
157
-        iniset $GLANCE_SWIFT_STORE_CONF ref1 auth_address $KEYSTONE_SERVICE_URI/v2.0/
157
+        iniset $GLANCE_SWIFT_STORE_CONF ref1 auth_address $KEYSTONE_SERVICE_URI/v3
158
+        iniset $GLANCE_SWIFT_STORE_CONF ref1 user_domain_id default
159
+        iniset $GLANCE_SWIFT_STORE_CONF ref1 project_domain_id default
160
+        iniset $GLANCE_SWIFT_STORE_CONF ref1 auth_version 3
158 161
 
159 162
         # commenting is not strictly necessary but it's confusing to have bad values in conf
160 163
         inicomment $GLANCE_API_CONF glance_store swift_store_user