List of filesystems does not get refreshed after a filesystem deletion
Just tested 12.2.1 and was playing with multiple filesystems (CephFS), creating some and deleting some. After I have removed one FS, the list of FS available in the UI isn't updated and if you click on the one that was removed you get to an error page. Not a major issue as by default multiple FS is still disabled by default but just in case.
Restarting the Manager daemon and refreshing the dashboard page fixes the FS list
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/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in call
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in call
return self.callable(*self.args, **self.kwargs)
File "/usr/lib64/ceph/mgr/dashboard/module.py", line 478, in filesystem
File "/usr/lib64/ceph/mgr/dashboard/module.py", line 355, in fs_status
stats = pool_stats[pool_id]
Already reported an issue with cephmetrics who instructed me to create a tracker with ceph-mgr.
#1 Updated by John Spray over 1 year ago
Hmm, the list in the menu is supposed to be updated every 5 seconds.
#3 Updated by John Spray over 1 year ago
- Category changed from dashboard/general to ceph-mgr
- Status changed from New to Verified
- Assignee set to John Spray
Never mind, this was easy to reproduce locally. When a filesystem is deleted, ceph-mgr is somehow still holding on to an older FSMap, so this is nothing to do with the dashboard, it's some lower level issue.