when i tried to use python keystoneclient to fetch endpoints list,it returned HTTP 501 error information.
Python 2.7.2+ (default, Oct 4 2011, 20:03:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import keystoneclient.v2_0 as v2
>>> keystone=v2.client.Client(username='admin',password='123',tenant_name='admin',auth_url='http://192.168.2.201:5000/v2.0')
>>> keystone.endpoints.list()
No handlers could be found for logger "keystoneclient.client"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/stack/python-keystoneclient/keystoneclient/v2_0/endpoints.py", line 28, in list
return self._list('/endpoints', 'endpoints')
File "/opt/stack/python-keystoneclient/keystoneclient/base.py", line 65, in _list
resp, body = self.api.get(url)
File "/opt/stack/python-keystoneclient/keystoneclient/client.py", line 166, in get
return self._cs_request(url, 'GET', **kwargs)
File "/opt/stack/python-keystoneclient/keystoneclient/client.py", line 150, in _cs_request
**kwargs)
File "/opt/stack/python-keystoneclient/keystoneclient/client.py", line 130, in request
raise exceptions.from_response(resp, body)
keystoneclient.exceptions.HTTPNotImplemented: The action you have requested has not been implemented. (HTTP 501)
when i tried to use python keystoneclient to fetch endpoints list,it returned HTTP 501 error information.
Python 2.7.2+ (default, Oct 4 2011, 20:03:08) v2.client. Client( username= 'admin' ,password= '123',tenant_ name='admin' ,auth_url= 'http:// 192.168. 2.201:5000/ v2.0') endpoints. list() .client" python- keystoneclient/ keystoneclient/ v2_0/endpoints. py", line 28, in list '/endpoints' , 'endpoints') python- keystoneclient/ keystoneclient/ base.py" , line 65, in _list python- keystoneclient/ keystoneclient/ client. py", line 166, in get request( url, 'GET', **kwargs) python- keystoneclient/ keystoneclient/ client. py", line 150, in _cs_request python- keystoneclient/ keystoneclient/ client. py", line 130, in request from_response( resp, body) exceptions. HTTPNotImplemen ted: The action you have requested has not been implemented. (HTTP 501)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import keystoneclient.v2_0 as v2
>>> keystone=
>>> keystone.
No handlers could be found for logger "keystoneclient
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/stack/
return self._list(
File "/opt/stack/
resp, body = self.api.get(url)
File "/opt/stack/
return self._cs_
File "/opt/stack/
**kwargs)
File "/opt/stack/
raise exceptions.
keystoneclient.