Project

General

Profile

Actions

Bug #21599

closed

List of filesystems does not get refreshed after a filesystem deletion

Added by Jean-Charles Lopez over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph-mgr
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

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
"fs_status": global_instance().fs_status(int(fs_id))
File "/usr/lib64/ceph/mgr/dashboard/module.py", line 355, in fs_status
stats = pool_stats[pool_id]
KeyError: 4L

Already reported an issue with cephmetrics who instructed me to create a tracker with ceph-mgr.


Related issues 1 (0 open1 closed)

Copied to mgr - Backport #22030: luminous: List of filesystems does not get refreshed after a filesystem deletionResolvedShinobu KinjoActions
Actions

Also available in: Atom PDF