-------------------------------------------------
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)
-------------------------------------------------
I tried with same code, and got the same issue.
------- ------- ------- ------- ------- ------- ------- 10.254. 254.57: 5000/v2. 0'} interface_ list() lib/python2. 7/dist- packages/ novaclient/ v2/servers. py", line 511, in interface_list interface_ list(self) lib/python2. 7/dist- packages/ novaclient/ v2/servers. py", line 1639, in interface_list ttachments' ) lib/python2. 7/dist- packages/ novaclient/ base.py" , line 242, in _list client. get(url) lib/python2. 7/dist- packages/ novaclient/ client. py", line 452, in get request( url, 'GET', **kwargs) lib/python2. 7/dist- packages/ novaclient/ client. py", line 430, in _cs_request request( url, method, **kwargs) lib/python2. 7/dist- packages/ novaclient/ client. py", line 403, in _time_request lib/python2. 7/dist- packages/ novaclient/ client. py", line 397, in request from_response( resp, body, url, method) exceptions. HTTPNotImplemen ted: The requested functionality is not supported. (HTTP 501) (Request-ID: req-3248fbf3- 6c95-488e- 8380-2d7761cecb d7) ------- ------- ------- ------- ------- -------
stack@devtest-vm:~$ python test.py
{'username': 'admin', 'project_id': 'admin', 'api_key': 'abc123', 'auth_url': 'http://
Traceback (most recent call last):
File "test.py", line 12, in <module>
print footest.
File "/usr/local/
return self.manager.
File "/usr/local/
'interfaceA
File "/usr/local/
resp, body = self.api.
File "/usr/local/
return self._cs_
File "/usr/local/
resp, body = self._time_
File "/usr/local/
resp, body = self.request(url, method, **kwargs)
File "/usr/local/
raise exceptions.
novaclient.
-------