Keystone Trusts API response contains invalid links
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Adam Young |
Bug Description
When new trust is requested or trust details obtained the response contains invalid URLs in the links section.
Discovered with and applies to openstack-
Send POST request to /v3/OS-TRUST/trusts with body like:
> {"trust":
> {"impersonation
> "project_
> "trustor_
> "trustee_
Reply will look like this:
> {'trust': {'expires_at': None,
> 'id': '<trust-id>',
> 'impersonation': False,
> 'links': {'self': 'http://
> 'project_id': '<your-
> 'roles': [],
> 'roles_links': {
> 'next': None,
> 'previous': None,
> 'self': 'http://
> 'trustee_user_id': '<other-user-id>',
> 'trustor_user_id': '<your-user-id>'}}
1) In the 'trust/links' there is missing extension part of path "/OS-TRUST/" after the version ... full absolute path should look like "/v3/OS-
2) In the 'trust/roles_links' there is missing extension part and the version "/v3/OS-TRUST/"
This applies to most if not all Trusts responses - not only for creation, but also for listing or getting details or roles of trust's responses.
Changed in keystone: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: grizzly-backport-potential |
Changed in keystone: | |
assignee: | nobody → Adam Young (ayoung) |
milestone: | none → havana-3 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | havana-3 → 2013.2 |
tags: | removed: grizzly-backport-potential |
roles should not have the extension, only the trust self link.