yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60969
[Bug 1660603] [NEW] Difference in Implied Roles check API return code
Public bug reported:
The Implied Roles check API (HEAD /v3/roles/<role_id>/implies/<role_id>)
returns 200 in Ubuntu Trusty and 204 in Ubuntu Xenial, check the jobs
results at [1] (both running latest master):
- example of output in ubuntu-trusty job:
http://logs.openstack.org/82/426882/1/check/gate-tempest-dsvm-neutron-
full-ubuntu-trusty/d4f9ec8/console.html#_2017-01-30_20_11_54_895227
This bug is not related if returning a 200 or 204 is correct for the
given API, but related to the difference between two Ubuntu versions.
Additionally, this specific API doesn't use the "wsgi.render_response"
method [2] - others APIs that use this method (check grant, for example)
don't have this problem.
[1] https://review.openstack.org/#/c/426882/
[2] https://github.com/openstack/keystone/blob/master/keystone/assignment/controllers.py#L518-L519
** Affects: keystone
Importance: Undecided
Status: New
** Description changed:
The Implied Roles check API (HEAD /v3/roles/<role_id>/implies/<role_id>)
returns 200 in Ubuntu Trusty and 204 in Ubuntu Xenial, check the jobs
results at [1] (both running latest master):
- example of output in ubuntu-trusty job:
http://logs.openstack.org/82/426882/1/check/gate-tempest-dsvm-neutron-
full-ubuntu-trusty/d4f9ec8/console.html#_2017-01-30_20_11_54_895227
+ This bug is not related if returning a 200 or 204 is correct for the
+ given API, but related to the difference between two Ubuntu versions.
+ Additionally, this specific API doesn't use the "wsgi.render_response"
+ method [2] - others APIs that use this method (check grant, for example)
+ don't have this problem.
[1] https://review.openstack.org/#/c/426882/
-
- This bug is not related if returning a 200 or 204 is correct for the
- given API, but related to the difference between two Ubuntu versions.
+ [2] https://github.com/openstack/keystone/blob/master/keystone/assignment/controllers.py#L518-L519
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1660603
Title:
Difference in Implied Roles check API return code
Status in OpenStack Identity (keystone):
New
Bug description:
The Implied Roles check API (HEAD
/v3/roles/<role_id>/implies/<role_id>) returns 200 in Ubuntu Trusty
and 204 in Ubuntu Xenial, check the jobs results at [1] (both running
latest master):
- example of output in ubuntu-trusty job:
http://logs.openstack.org/82/426882/1/check/gate-tempest-dsvm-neutron-
full-ubuntu-trusty/d4f9ec8/console.html#_2017-01-30_20_11_54_895227
This bug is not related if returning a 200 or 204 is correct for the
given API, but related to the difference between two Ubuntu versions.
Additionally, this specific API doesn't use the "wsgi.render_response"
method [2] - others APIs that use this method (check grant, for
example) don't have this problem.
[1] https://review.openstack.org/#/c/426882/
[2] https://github.com/openstack/keystone/blob/master/keystone/assignment/controllers.py#L518-L519
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1660603/+subscriptions
Follow ups