Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> oskconn.flavors.list()
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/flavors.py", line 119, in list
- return self._list("/flavors%s%s" % (detail, query_string), "flavors")
- File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 201, in _list
- _resp, body = self.api.client.get(url)
- File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 448, in get
- return self._cs_request(url, 'GET', **kwargs)
- File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 404, in _cs_request
- self.authenticate()
- File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 561, in authenticate
- auth_url = self._v2_auth(auth_url)
- File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 652, in _v2_auth
- return self._authenticate(url, body)
- File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 665, in _authenticate
- **kwargs)
- File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 399, in _time_request
- resp, body = self.request(url, method, **kwargs)
- File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 393, in request
- raise exceptions.from_response(resp, body, url, method)
- novaclient.exceptions.Unauthorized: The request you have made requires authentication. (HTTP 401)
- >>>
Advertisement
Add Comment
Please, Sign In to add comment