Project ID always treated as a string.
Keystone chokes on authorization if the project id is sent as an integer, so we'll cast it to a unicode string on our end.
This commit is contained in:
@@ -44,7 +44,7 @@ class HTTPClient(httplib2.Http):
|
|||||||
super(HTTPClient, self).__init__(timeout=timeout)
|
super(HTTPClient, self).__init__(timeout=timeout)
|
||||||
self.user = username
|
self.user = username
|
||||||
self.password = password
|
self.password = password
|
||||||
self.project_id = project_id
|
self.project_id = unicode(project_id)
|
||||||
self.auth_url = auth_url
|
self.auth_url = auth_url
|
||||||
self.version = 'v2.0'
|
self.version = 'v2.0'
|
||||||
self.region_name = region_name
|
self.region_name = region_name
|
||||||
|
Reference in New Issue
Block a user