Actions
Bug #38522
closedrestful module traceback when querying any endpoint that require auth
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
2019-03-01 14:10:37.126 7fdd6d15a700 0 mgr[restful] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/pecan/core.py", line 683, in __call__ self.invoke_controller(controller, args, kwargs, state) File "/usr/lib/python3.7/site-packages/pecan/core.py", line 574, in invoke_controller result = controller(*args, **kwargs) File "/home/brad/working/src/ceph/src/pybind/mgr/restful/decorators.py", line 21, in decorated username, password = b64decode(request.authorization[1]).split(':') TypeError: a bytes-like object is required, not 'str'
Updated by Brad Hubbard about 5 years ago
- Description updated (diff)
- Status changed from New to Fix Under Review
Updated by Kefu Chai almost 5 years ago
- Status changed from Fix Under Review to Resolved
Updated by Lenz Grimmer almost 5 years ago
- Related to Bug #38628: restful/api is not Python 3 compatible added
Actions