summaryrefslogtreecommitdiff
path: root/keystoneclient/httpclient.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2014-10-10 15:53:37 -0700
committerMonty Taylor <mordred@inaugust.com>2014-10-12 10:10:18 -0700
commit07e8eb7e2c1f35b9585454649c7731d3235716d3 (patch)
treeb84219de19bc3cb14534a66111f8e3b8c1473b84 /keystoneclient/httpclient.py
parent89dc951f7d5a603f0c34b7c2cb9f7d26d73d9916 (diff)
downloadpython-keystoneclient-07e8eb7e2c1f35b9585454649c7731d3235716d3.tar.gz
Remove warning about management token
Because keystoneclient tries to figure out a management_url in all contexts, it means that any end-user who uses any python-*client from OpenStack that is using python-keystoneclient will always get a warning about not being able to get a management token. This is, however, not something that they need warning about, since there is no expectation they'll have one. It's distressing to see it as part of normal operation. So just remove the warning. Change-Id: Ia103a53c09c00fc09cef5fb24be546fc1da0684a
Diffstat (limited to 'keystoneclient/httpclient.py')
-rw-r--r--keystoneclient/httpclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/httpclient.py b/keystoneclient/httpclient.py
index ce49dc4..7a2a65d 100644
--- a/keystoneclient/httpclient.py
+++ b/keystoneclient/httpclient.py
@@ -498,7 +498,7 @@ class HTTPClient(baseclient.Client, base.BaseAuthPlugin):
endpoint_type='admin',
region_name=region_name)
except exceptions.EndpointNotFound:
- _logger.warning("Failed to retrieve management_url from token")
+ pass
def process_token(self, region_name=None):
"""Extract and process information from the new auth_ref.