Fix keystoneclient so swift works against Rackspace Cloud Files
Fixes bug 1074784 https://bugs.launchpad.net/python-keystoneclient/+bug/1074784 RAX auth doesn't return a service catalog with an identity endpoint that contains an auth URL. This causes swift client to log an error of "Authorization Failure. Authorization Failed: Endpoint not found." Change-Id: I26174a664029617f097dc35c57ef30b34cd2fb61
This commit is contained in:
@@ -138,3 +138,8 @@ class Client(client.HTTPClient):
|
||||
# Unscoped tokens don't return a service catalog;
|
||||
# allow those to pass while any other errors bubble up.
|
||||
pass
|
||||
except exceptions.EndpointNotFound:
|
||||
# the client shouldn't expect the authenticating user to
|
||||
# be authorized to view adminURL's, nor expect the identity
|
||||
# endpoint to publish one
|
||||
pass
|
||||
|
Reference in New Issue
Block a user