Bug #24181
closedluminous dashboard: CephFS info generates 500 Internal error
0%
Description
This woked OK in 12.2.4 (or 12.2.2 ?).
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 362, in fs_status
mds_versions[metadata.get('ceph_version', 'unknown')].append(info['name'])
AttributeError: 'NoneType' object has no attribute 'get'