Comment 3 for bug 1631881

Revision history for this message
NITIN GUPTA (nitin-29-gupta) wrote :

I tried with same code, and got the same issue.

-------------------------------------------------
stack@devtest-vm:~$ python test.py
{'username': 'admin', 'project_id': 'admin', 'api_key': 'abc123', 'auth_url': 'http://10.254.254.57:5000/v2.0'}
Traceback (most recent call last):
  File "test.py", line 12, in <module>
    print footest.interface_list()
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 511, in interface_list
    return self.manager.interface_list(self)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1639, in interface_list
    'interfaceAttachments')
  File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 242, in _list
    resp, body = self.api.client.get(url)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 452, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 430, in _cs_request
    resp, body = self._time_request(url, method, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 403, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 397, in request
    raise exceptions.from_response(resp, body, url, method)
novaclient.exceptions.HTTPNotImplemented: The requested functionality is not supported. (HTTP 501) (Request-ID: req-3248fbf3-6c95-488e-8380-2d7761cecbd7)
-------------------------------------------------