← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1416303] Re: response of v3 OS-EC2 API doesn't contain links field

 

** 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/1416303

Title:
  response of v3 OS-EC2 API doesn't contain links field

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  An example of create API:

  {"credential": {"access": "1d3c23ddf17b4a2dbb1702fda6f70fff",
  "tenant_id": "af893e3fa7e94f38bbbb0103e3a0777b", "secret":
  "e27ca17c32534c18a5d695f26bd766db", "user_id":
  "ea8e8e91c7404f9db859730df4374137", "trust_id": null}}

  This is because we don't apply wrap_member or wrap_collection on the response of v3 OS-EC2 API.
  https://github.com/openstack/keystone/blob/master/keystone/contrib/ec2/controllers.py#L387
  https://github.com/openstack/keystone/blob/master/keystone/contrib/ec2/controllers.py#L174

  Example of how collections are wrapped in other places:

  https://github.com/openstack/keystone/blob/15fb5d68cd871a9d05f3bc332139e808d47af2a8/keystone/catalog/controllers.py#L308

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


References