← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279398] Re: links section is incorrect when listing trusts

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1279398

Title:
  links section is incorrect when listing trusts

Status in OpenStack Identity (Keystone):
  Fix Released

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://localhost:5000/v3/OS-TRUST/OS-TRUST/trusts', 
    u'next': None, 
    u'previous': None},
  u'trusts': 
    [{u'impersonation': False, 
    u'trustor_user_id': u'e50e25ed5a50499ab5b662b008295b54', 
    u'description': u'2691267f81144712bea98d3521cf58e4', 
    u'links': {u'self': u'http://localhost:5000/v3/OS-TRUST/trusts/fdfd22aebae4498b9df65e0af8821d5b'}, 
    u'enabled': True, 
    u'expires_at': None, 
    u'trustee_user_id': u'a6a165d04bed417bb24f3bcb5ab89dfd', 
    u'project_id': u'b69e4616a2124f4f98733bea8a3a8ef4', 
    u'id': u'fdfd22aebae4498b9df65e0af8821d5b', 
    u'name': u'6a43b19df472432b9cc0e37bfc6c0a0b'}]}

  (Pdb) p r.result['links']
  {u'self': u'http://localhost:5000/v3/OS-TRUST/OS-TRUST/trusts', u'next': None, u'previous': None}

  The resulting url for links of the entire collection is incorrect, it
  has an extra OS-TRUST.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1279398/+subscriptions


References