]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Use auth_token from keystonemiddleware
authorBrant Knudson <bknudson@us.ibm.com>
Tue, 24 Jun 2014 21:32:54 +0000 (16:32 -0500)
committerJamie Lennox <jamielennox@redhat.com>
Wed, 6 Aug 2014 08:30:51 +0000 (18:30 +1000)
auth_token middleware in python-keystoneclient is deprecated and has
been moved to the keystonemiddleware repo.

Closes-Bug: #1342274
Change-Id: I1aadbe24db63eb2507b088cd53886d7f2e192cab

etc/cinder/api-paste.ini
etc/cinder/cinder.conf.sample
requirements.txt
tools/config/oslo.config.generator.rc

index 6829edbf665a14c0eb4aa87dc2927ebc5adf7b09..ff7f11975c42b123d74cd1605de0782e6c45cd6b 100644 (file)
@@ -52,4 +52,4 @@ paste.app_factory = cinder.api.versions:Versions.factory
 paste.filter_factory = cinder.api.middleware.auth:CinderKeystoneContext.factory
 
 [filter:authtoken]
-paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
+paste.filter_factory = keystonemiddleware.auth_token:filter_factory
index 848af4c645550f5edeef264c6ef226197c8bbf34..592bb51637c936ab4183c59ae9c20e468ff2ba02 100644 (file)
 [keystone_authtoken]
 
 #
-# Options defined in keystoneclient.middleware.auth_token
+# Options defined in keystonemiddleware.auth_token
 #
 
 # Prefix to prepend at the beginning of the path. Deprecated,
index 958608863f0bc8d4cd942a735b69f34b917d2dc2..d85f822c2ef6af44364c26c087fcf66c22db6d69 100644 (file)
@@ -5,6 +5,7 @@ Babel>=1.3
 eventlet>=0.13.0
 greenlet>=0.3.2
 iso8601>=0.1.9
+keystonemiddleware>=1.0.0
 kombu>=2.4.8
 lxml>=2.3
 netaddr>=0.7.6
@@ -17,7 +18,6 @@ Paste
 PasteDeploy>=1.5.0
 pycrypto>=2.6
 python-glanceclient>=0.13.1
-python-keystoneclient>=0.9.0
 python-novaclient>=2.17.0
 python-swiftclient>=2.0.2
 requests>=1.1
index 540e58471175e2c57699996148a73ed20dc0a3dd..d17957ef4f6c652f10196a26f403d5ac2df3499c 100644 (file)
@@ -1,2 +1,2 @@
-export CINDER_CONFIG_GENERATOR_EXTRA_MODULES="keystoneclient.middleware.auth_token"
+export CINDER_CONFIG_GENERATOR_EXTRA_MODULES="keystonemiddleware.auth_token"
 export CINDER_CONFIG_GENERATOR_EXTRA_LIBRARIES="oslo.messaging oslo.db oslo.db.concurrency"