← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1965316] [NEW] No traceback on 400 "sequence item 0: expected str instance, bytes found" (TypeError)

 

Public bug reported:

I have an error in keystone logs, with debug turned on:

2022-03-06 19:32:32.502 173 WARNING keystone.server.flask.application
[req-cb061f74-f48a-4c71-be47-6dda08f65c96
b731e56863e44d3e985aab70f01b054c 2722b2f6760745ab902d73de100b0ef4 -
default default] sequence item 0: expected str instance, bytes found

There is no traceback, which means I can't get any more information to
fix it.

I believe this is because unknown errors are logged as a warning instead
of an exception in _handle_keystone_exception function in the flask
application.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
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/1965316

Title:
  No traceback on 400 "sequence item 0: expected str instance, bytes
  found" (TypeError)

Status in OpenStack Identity (keystone):
  New

Bug description:
  I have an error in keystone logs, with debug turned on:

  2022-03-06 19:32:32.502 173 WARNING keystone.server.flask.application
  [req-cb061f74-f48a-4c71-be47-6dda08f65c96
  b731e56863e44d3e985aab70f01b054c 2722b2f6760745ab902d73de100b0ef4 -
  default default] sequence item 0: expected str instance, bytes found

  There is no traceback, which means I can't get any more information to
  fix it.

  I believe this is because unknown errors are logged as a warning
  instead of an exception in _handle_keystone_exception function in the
  flask application.

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