Project

General

Profile

Actions

Bug #45308

closed

ceph dashboard - cephfs

Added by Ashley Merrick almost 4 years ago. Updated over 1 year ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
Component - CephFS
Target version:
-
% Done:

0%

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

Description

Upon clicking the filesystems tab in the dashboard and clicking the FS name, the page loads with no details displayed on any of the tabs (Details/Clients/Directories) or errors shown in the browser.

Checking the MGR log I found the following:

pr 28 13:17:04 sn-m01 bash[1898]: debug 2020-04-28T13:17:04.030+0000 7f7740ea6700  0 [dashboard ERROR exception] Dashboard Exception
Apr 28 13:17:04 sn-m01 bash[1898]: Traceback (most recent call last):
Apr 28 13:17:04 sn-m01 bash[1898]:   File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 94, in dashboard_exception_handler
Apr 28 13:17:04 sn-m01 bash[1898]:     return handler(*args, **kwargs)
Apr 28 13:17:04 sn-m01 bash[1898]:   File "/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
Apr 28 13:17:04 sn-m01 bash[1898]:     return self.callable(*self.args, **self.kwargs)
Apr 28 13:17:04 sn-m01 bash[1898]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 665, in inner
Apr 28 13:17:04 sn-m01 bash[1898]:     ret = func(*args, **kwargs)
Apr 28 13:17:04 sn-m01 bash[1898]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 858, in wrapper
Apr 28 13:17:04 sn-m01 bash[1898]:     return func(*vpath, **params)
Apr 28 13:17:04 sn-m01 bash[1898]:   File "/usr/share/ceph/mgr/dashboard/controllers/cephfs.py", line 492, in tabs
Apr 28 13:17:04 sn-m01 bash[1898]:     data['clients'] = self._clients(fs_id)
Apr 28 13:17:04 sn-m01 bash[1898]:   File "/usr/share/ceph/mgr/dashboard/controllers/cephfs.py", line 275, in _clients
Apr 28 13:17:04 sn-m01 bash[1898]:     status, clients = cephfs_clients.get()
Apr 28 13:17:04 sn-m01 bash[1898]:   File "/usr/share/ceph/mgr/dashboard/tools.py", line 254, in wrapper
Apr 28 13:17:04 sn-m01 bash[1898]:     return rvc.run(fn, args, kwargs)
Apr 28 13:17:04 sn-m01 bash[1898]:   File "/usr/share/ceph/mgr/dashboard/tools.py", line 242, in run
Apr 28 13:17:04 sn-m01 bash[1898]:     raise ViewCacheNoDataException()
Apr 28 13:17:04 sn-m01 bash[1898]: dashboard.exceptions.ViewCacheNoDataException: ViewCache: unable to retrieve data
Actions #1

Updated by Ashley Merrick almost 4 years ago

Also noticed get a simular error when trying to list block images, this is a MGR running under ceph-adm

Apr 28 15:42:38 sn-m01 bash[1994]: debug 2020-04-28T15:42:38.044+0000 7f07f060f700  0 [dashboard ERROR exception] Dashboard Exception
Apr 28 15:42:38 sn-m01 bash[1994]: Traceback (most recent call last):
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 94, in dashboard_exception_handler
Apr 28 15:42:38 sn-m01 bash[1994]:     return handler(*args, **kwargs)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
Apr 28 15:42:38 sn-m01 bash[1994]:     return self.callable(*self.args, **self.kwargs)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 665, in inner
Apr 28 15:42:38 sn-m01 bash[1994]:     ret = func(*args, **kwargs)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 858, in wrapper
Apr 28 15:42:38 sn-m01 bash[1994]:     return func(*vpath, **params)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/lib64/python3.6/contextlib.py", line 52, in inner
Apr 28 15:42:38 sn-m01 bash[1994]:     return func(*args, **kwds)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/lib64/python3.6/contextlib.py", line 52, in inner
Apr 28 15:42:38 sn-m01 bash[1994]:     return func(*args, **kwds)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/usr/share/ceph/mgr/dashboard/controllers/rbd.py", line 83, in list
Apr 28 15:42:38 sn-m01 bash[1994]:     return self._rbd_list(pool_name)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/usr/share/ceph/mgr/dashboard/controllers/rbd.py", line 73, in _rbd_list
Apr 28 15:42:38 sn-m01 bash[1994]:     status, value = RbdService.rbd_pool_list(pool)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/usr/share/ceph/mgr/dashboard/tools.py", line 254, in wrapper
Apr 28 15:42:38 sn-m01 bash[1994]:     return rvc.run(fn, args, kwargs)
Apr 28 15:42:38 sn-m01 bash[1994]:   File "/usr/share/ceph/mgr/dashboard/tools.py", line 242, in run
Apr 28 15:42:38 sn-m01 bash[1994]:     raise ViewCacheNoDataException()
Apr 28 15:42:38 sn-m01 bash[1994]: dashboard.exceptions.ViewCacheNoDataException: ViewCache: unable to retrieve data
Actions #2

Updated by Greg Farnum almost 4 years ago

  • Project changed from Ceph to mgr
  • Category deleted (common)
Actions #3

Updated by Neha Ojha almost 4 years ago

  • Category set to 142
Actions #4

Updated by Kiefer Chang almost 4 years ago

Ashley Merrick wrote:

Also noticed get a simular error when trying to list block images, this is a MGR running under ceph-adm

[...]

Does listing images from CLI work? e.g.: rbd list -p <pool>

Actions #5

Updated by Ashley Merrick almost 4 years ago

Kiefer Chang wrote:

Ashley Merrick wrote:

Also noticed get a simular error when trying to list block images, this is a MGR running under ceph-adm

[...]

Does listing images from CLI work? e.g.: rbd list -p <pool>

Correct, all commands like ceph -s and rbd list -p <pool> work fine and respond very quickly.

Actions #6

Updated by Ashley Merrick almost 4 years ago

The only thing I can think of is before I was running the cluster without cephx, I had to enable it as hit this bug: https://tracker.ceph.com/issues/45091

I went through each service config file and enabled cephx and then rebooted the cluster and set the global config to be cephx, maybe somewhere else I need to enable cephx for the commands that the dashboard is trying to send and retrieve data with?

Actions #7

Updated by Ashley Merrick almost 4 years ago

Both of these are now resolved since 15.2.2 on my cluster anyway.

Actions #8

Updated by Lenz Grimmer over 3 years ago

  • Status changed from New to Can't reproduce

Ashley Merrick wrote:

Both of these are now resolved since 15.2.2 on my cluster anyway.

Thanks for the feedback!

Actions #9

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 142 to Component - CephFS
Actions #10

Updated by Eugen Block over 1 year ago

I just upgraded our Nautilus cluster to Pacific (and switched to cephadm) this week and I'm seeing the same error message when I'm trying to list rbd images. The cephfs tab works fine. Listing rbd images via cli works fine as well. Please let me know if I can provide more information. The stack trace seems to be the same as previously reported so I won't paste it again unless you need me to.

Actions #11

Updated by Eugen Block over 1 year ago

Eugen Block wrote:

I just upgraded our Nautilus cluster to Pacific (and switched to cephadm) this week and I'm seeing the same error message when I'm trying to list rbd images. The cephfs tab works fine. Listing rbd images via cli works fine as well. Please let me know if I can provide more information. The stack trace seems to be the same as previously reported so I won't paste it again unless you need me to.

Nevermind, the issue seemed to resolve itself. After a while the page actually shows our rbd images, seems like it takes a while to build the cache.

Actions

Also available in: Atom PDF