novaclient & keystone

Bug #892178 reported by klmitch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
High
Unassigned

Bug Description

Using API in topic context there's an unhandled exception when keystone ( remoteauth.py ) tries to redirect
( i.e. to {'date': 'Thu, 21 Jul 2011 10:28:34 GMT', 'status': '305', 'content-length': '141', 'content-type': 'text/plain; charset=UTF-8', 'location': 'http://127.0.0.1:5001'} ).

The exception is:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/novaclient/images.py", line 47, in list
    return self._list("/images%s" % detail, "images")
  File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 65, in _list
    resp, body = self.api.client.get(url)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 112, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 88, in _cs_request
    self.authenticate()
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 138, in authenticate
    self.management_url = resp['x-server-management-url']
KeyError: 'x-server-management-url'

Revision history for this message
klmitch (q-noreply) wrote :

as noted in readme, you can now use keystone + novaclient

Thierry Carrez (ttx)
affects: nova → python-novaclient
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.