GET /endpoints not implemented.

Bug #988672 reported by jiangkai zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Expired
Undecided
Unassigned

Bug Description

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)

jiangkai zhang (jekie8)
description: updated
summary: - EndpointManager.list() method not implemented.
+ Get /endpoints not implemented.
summary: - Get /endpoints not implemented.
+ GET /endpoints not implemented.
Revision history for this message
Dolph Mathews (dolph) wrote :

To clarify, this is not implemented by the specific driver you're using on the server-side (I'm guessing either the KVS or templated driver). The SQL backend implements this correctly, AFAIK.

Slightly related discussion (not a dupe): https://bugs.launchpad.net/keystone/+bug/983744

Joseph Heck (heckj)
Changed in keystone:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Keystone because there has been no activity for 60 days.]

Changed in keystone:
status: Incomplete → Expired
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.