Project

General

Profile

Actions

Bug #51611

closed

Directories Menu Can't Use on Ceph File System Dashboard

Added by Prince Inamatus almost 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - CephFS
Target version:
-
% Done:

0%

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

Description

After upgrade to 16.2.5 This error is appear. When I use on 16.2.3 this error didn't appear.

2021-07-09T21:13:51.924+0700 7f2b98711700 0 [dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 46, in dashboard_exception_handler
return handler(*args, **kwargs)
File "/usr/lib/python3/dist-packages/cherrypy/_cpdispatch.py", line 60, in call
return self.callable(*self.args, **self.kwargs)
File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 694, in inner
ret = func(*args, **kwargs)
File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 909, in wrapper
return func(*vpath, **params)
File "/usr/share/ceph/mgr/dashboard/controllers/cephfs.py", line 540, in ls_dir
paths = cfs.ls_dir(path, depth)
File "/usr/share/ceph/mgr/dashboard/services/cephfs.py", line 77, in ls_dir
return [self.get_directory(p) for p in paths if p != path.encode()]
File "/usr/share/ceph/mgr/dashboard/services/cephfs.py", line 77, in <listcomp>
return [self.get_directory(p) for p in paths if p != path.encode()]
File "/usr/share/ceph/mgr/dashboard/services/cephfs.py", line 129, in get_directory
'snapshots': self.ls_snapshots(path),
File "/usr/share/ceph/mgr/dashboard/services/cephfs.py", line 201, in ls_snapshots
with self.opendir(path) as d:
File "/usr/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/usr/share/ceph/mgr/dashboard/services/cephfs.py", line 57, in opendir
d = self.cfs.opendir(dirpath)
File "cephfs.pyx", line 942, in cephfs.LibCephFS.opendir
cephfs.OSError: opendir failed: Permission denied [Errno 13]
2021-07-09T21:13:51.928+0700 7f2b98711700 0 [dashboard ERROR request] [10.0.80.2:53485] [GET] [500] [0.083s] [admin] [513.0B] /ui-api/cephfs/1/ls_dir
2021-07-09T21:13:51.928+0700 7f2b98711700 0 [dashboard ERROR request] [b'{"status": "500 Internal Server Error", "detail": "The server encountered an unexpected condition which prevented it from fulfilling the request.", "request_id": "d0b14426-eeab-41d1-824a-7ea347207e5d"}


Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #54269: pacific: Directories Menu Can't Use on Ceph File System DashboardResolvedSarthak GuptaActions
Actions

Also available in: Atom PDF