Can't list endpoints for a token in the user-facing library API

Bug #1315798 reported by Fernando Ribeiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Invalid
Medium
Unassigned

Bug Description

The client fails because it is looking for a non-existing "token" key in the response from Keystone:

def endpoints(self, token):
    return self._get("/tokens/%s/endpoints" % base.getid(token), "token")

It needs to be changed to look for the "endpoints" key instead and parse its value correctly.

summary: - Can't retrieve endpoints for token in Python Client
+ Can't retrieve endpoints for token in Identity Python Client
Changed in keystone:
assignee: nobody → Fernando Ribeiro (fernando-ribeiro-h)
status: New → In Progress
summary: - Can't retrieve endpoints for token in Identity Python Client
+ Can't list endpoints for a token in Identity Python Client
affects: keystone → python-keystoneclient
Changed in python-keystoneclient:
assignee: Fernando Ribeiro (fribeiro) → nobody
Changed in python-keystoneclient:
assignee: nobody → Fernando Ribeiro (fribeiro)
Dolph Mathews (dolph)
summary: - Can't list endpoints for a token in Identity Python Client
+ Can't list endpoints for a token
Changed in python-keystoneclient:
importance: Undecided → Medium
Revision history for this message
Fernando Ribeiro (fribeiro) wrote : Re: Can't list endpoints for a token
summary: - Can't list endpoints for a token
+ Can't list endpoints for a token in the Identity Python Client
summary: - Can't list endpoints for a token in the Identity Python Client
+ Can't list endpoints for a token in the user-facing library API
Changed in python-keystoneclient:
assignee: Fernando Ribeiro (fribeiro) → Lance Bragstad (lbragstad)
Revision history for this message
Dolph Mathews (dolph) wrote :

I've abandoned the referenced changed due to inactivity and failing tests. If this is still an issue, please reset the status.

Changed in python-keystoneclient:
status: In Progress → Incomplete
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-keystoneclient (master)

Change abandoned by Dolph Mathews (<email address hidden>) on branch: master
Review: https://review.openstack.org/91990
Reason: Abandoning due to inactivity and failing tests.

Changed in python-keystoneclient:
status: Incomplete → New
Revision history for this message
Steve Martinelli (stevemar) wrote :

Automatically unassigning due to inactivity.

Changed in python-keystoneclient:
assignee: Lance Bragstad (lbragstad) → nobody
Revision history for this message
Steve Martinelli (stevemar) wrote :

Use keystoneauth for finding endpoints and services in a token.

Changed in python-keystoneclient:
status: New → Invalid
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.