← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: keystone
     Importance: Undecided
     Assignee: wanghong (w-wanghong)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => wanghong (w-wanghong)

-- 
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):
  New

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

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


Follow ups

References