yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73315
[Bug 1776506] Re: Keystone JSON HOME on / fails
Reviewed: https://review.openstack.org/574735
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=f18d54fe16dcc91a0d9d144ad15c524a679e3cc5
Submitter: Zuul
Branch: master
commit f18d54fe16dcc91a0d9d144ad15c524a679e3cc5
Author: Morgan Fainberg <morgan.fainberg@xxxxxxxxx>
Date: Tue Jun 12 06:59:38 2018 -0700
Store JSON Home Resources off the composing router
JSON Home Resources must be stored in a location other
than the router for Flask as we are not composing routers
in the same way as we used to with the home-grown webob
based WSGI setup.
Partial-Bug: #1776504
Closes-Bug: #1776506
Change-Id: I292ea9e923ff2f49041dfd417994bcdd797d0520
** Changed in: keystone
Status: In Progress => Fix Released
--
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/1776506
Title:
Keystone JSON HOME on / fails
Status in OpenStack Identity (keystone):
Fix Released
Bug description:
With the move to the compat dispatching for Flask, Keystone's JSON
HOME on GET / is now failing. This results in a 500 error and an
exception that looks like:
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi [req-591e2ecd-8088-4d2e-a5ae-c23a1624187d - - - - -] Extra data: line 1 column 5 - line 5 column 22 (char 4 - 52): ValueError: Extra data: line 1 column 5 - line 5 column 22 (char 4 - 52)
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi Traceback (most recent call last):
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line 211, in __call__
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi result = method(req, **params)
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/version/controllers.py", line 167, in get_versions
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi v3_json_home = request_v3_json_home('/v3')
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/version/controllers.py", line 46, in request_v3_json_home
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi v3_json_home = jsonutils.loads(v3_json_home_str)
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_serialization/jsonutils.py", line 264, in loads
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi return json.loads(encodeutils.safe_decode(s, encoding), **kwargs)
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi return _default_decoder.decode(s)
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi File "/usr/lib64/python2.7/json/decoder.py", line 369, in decode
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi raise ValueError(errmsg("Extra data", s, end, len(s)))
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi ValueError: Extra data: line 1 column 5 - line 5 column 22 (char 4 - 52)
2018-06-11 20:16:29.824 216 ERROR keystone.common.wsgi
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1776506/+subscriptions
References