Merge "management_url not set by authenticate method"

This commit is contained in:
Jenkins 2013-02-10 02:35:42 +00:00 committed by Gerrit Code Review
commit 1ea7e65d85

@ -354,6 +354,8 @@ class HTTPClient(object):
if self.bypass_url:
self.set_management_url(self.bypass_url)
elif not self.management_url:
raise exceptions.Unauthorized('Nova Client')
# Store the token/mgmt url in the keyring for later requests.
if self.keyring_saver and self.os_cache and not self.keyring_saved: