links section is incorrect when listing trusts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Steve Martinelli |
Bug Description
This error is only seen when calling GET /OS-TRUST/trusts, so listing all trusts.
(Pdb) p r.result
{u'links':
{u'self': u'http://
u'next': None,
u'previous': None},
u'trusts':
[{u'impersona
u'trustor_
u'description': u'2691267f81144
u'links': {u'self': u'http://
u'enabled': True,
u'expires_at': None,
u'trustee_
u'project_id': u'b69e4616a2124
u'id': u'fdfd22aebae44
u'name': u'6a43b19df4724
(Pdb) p r.result['links']
{u'self': u'http://
The resulting url for links of the entire collection is incorrect, it has an extra OS-TRUST.
Changed in keystone: | |
assignee: | nobody → Steve Martinelli (stevemar) |
milestone: | none → icehouse-3 |
Changed in keystone: | |
status: | New → In Progress |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | icehouse-3 → 2014.1 |
Reviewed: https:/ /review. openstack. org/72580 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=674bd23c216 874f2449e1585f9 c0d074b4096b7b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 674bd23c216874f 2449e1585f9c0d0 74b4096b7b
Author: Steve Martinelli <email address hidden>
Date: Tue Feb 11 02:01:29 2014 -0600
List trusts, incorrect self link.
Fix the base_url method in trust controller to build off
of the one in V3 controller.
Closes-Bug: #1279398
Change-Id: If9b3114c9b2b99 78237988fa3b52e 0bede783057