No traceback on 400 "sequence item 0: expected str instance, bytes found" (TypeError)
Bug #1965316 reported by
Grzegorz Grasza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
In Progress
|
Undecided
|
Grzegorz Grasza |
Bug Description
I have an error in keystone logs, with debug turned on:
2022-03-06 19:32:32.502 173 WARNING keystone.
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_
Changed in keystone: | |
status: | New → In Progress |
Changed in keystone: | |
assignee: | nobody → Grzegorz Grasza (xek) |
To post a comment you must log in.
This is the stack trace from the client:
testtools. testresult. real._StringExc eption: Traceback (most recent call last): python3. 6/site- packages/ tempest/ test.py" , line 236, in tearDownClass reraise( etype, value, trace) python3. 6/site- packages/ six.py" , line 693, in reraise python3. 6/site- packages/ tempest/ test.py" , line 208, in tearDownClass python3. 6/site- packages/ tempest/ test.py" , line 719, in clear_credentials _creds_ provider. clear_creds( ) python3. 6/site- packages/ tempest/ lib/common/ dynamic_ creds.py" , line 561, in clear_creds creds_client. delete_ user(creds. user_id) python3. 6/site- packages/ tempest/ lib/common/ cred_client. py", line 55, in delete_user users_client. delete_ user(user_ id) python3. 6/site- packages/ tempest/ lib/services/ identity/ v3/users_ client. py", line 104, in delete_user "users/ %s" % user_id) python3. 6/site- packages/ tempest/ lib/common/ rest_client. py", line 331, in delete 'DELETE' , url, extra_headers, headers, body) python3. 6/site- packages/ tempest/ lib/common/ rest_client. py", line 704, in request _error_ checker( resp, resp_body) python3. 6/site- packages/ tempest/ lib/common/ rest_client. py", line 815, in _error_checker BadRequest( resp_body, resp=resp) lib.exceptions. BadRequest: Bad request
File "/usr/lib/
six.
File "/usr/lib/
raise value
File "/usr/lib/
teardown()
File "/usr/lib/
cls.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
resp, body = self.delete(
File "/usr/lib/
return self.request(
File "/usr/lib/
self.
File "/usr/lib/
raise exceptions.
tempest.
Details: {'code': 400, 'message': 'sequence item 0: expected str instance, bytes found', 'title': 'Bad Request'}