← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1776506] [NEW] Keystone JSON HOME on / fails

 

Public bug reported:

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

** Affects: keystone
     Importance: High
     Assignee: Morgan Fainberg (mdrnstm)
         Status: In Progress

** Changed in: keystone
   Importance: Undecided => High

** Changed in: keystone
     Assignee: (unassigned) => Morgan Fainberg (mdrnstm)

** Changed in: keystone
    Milestone: None => rocky-3

** Changed in: keystone
       Status: New => Triaged

-- 
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):
  In Progress

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


Follow ups