Actions
Bug #23967
closedceph fs status and Dashboard fail with Python stack trace
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Using Ceph v12.2.4, in `ceph fs status` I get:
# ceph fs status Error EINVAL: Traceback (most recent call last): File "/usr/lib/ceph/mgr/status/module.py", line 310, in handle_command return self.handle_fs_status(cmd) File "/usr/lib/ceph/mgr/status/module.py", line 235, in handle_fs_status mds_versions[metadata.get('ceph_version', "unknown")].append(standby['name']) AttributeError: 'NoneType' object has no attribute 'get'
On the Ceph Dashboard http://localhost:7000/filesystem/1/ I get:
500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/lib/ceph/mgr/dashboard/module.py", line 548, in filesystem "fs_status": global_instance().fs_status(int(fs_id)) File "/usr/lib/ceph/mgr/dashboard/module.py", line 431, in fs_status mds_versions[metadata.get('ceph_version', 'unknown')].append(standby['name']) AttributeError: 'NoneType' object has no attribute 'get' Powered by CherryPy 3.5.0
Actions