FS#68727 - [ceph] MGR: Query block images via Dasboard is not possible
Attached to Project:
Community Packages
Opened by likeit (likeit) - Monday, 23 November 2020, 20:41 GMT
Last edited by Thore Bödecker (foxxx0) - Wednesday, 01 September 2021, 09:39 GMT
Opened by likeit (likeit) - Monday, 23 November 2020, 20:41 GMT
Last edited by Thore Bödecker (foxxx0) - Wednesday, 01 September 2021, 09:39 GMT
|
Details
It is no longer possible to query the block images via the
dashboard. The query ends with the following exception.
# cat ceph-mgr.m1.log 2020-11-23T21:36:50.527+0100 7f8ef6612640 4 mgr get_store get_store key: mgr/dashboard/jwt_token_black_list 2020-11-23T21:36:50.527+0100 7f8ef6612640 0 [dashboard DEBUG auth] checking authorization... 2020-11-23T21:36:50.527+0100 7f8ef6612640 0 [dashboard DEBUG auth] checking '['read']' access to 'rbd-image' scope 2020-11-23T21:36:50.527+0100 7f8ef6612640 0 [dashboard DEBUG viewcache] getter_thread still alive for: <function RbdService.rbd_pool_list at 0x7f8f1c9028b0> 2020-11-23T21:36:50.827+0100 7f8ef7e15640 0 [dashboard ERROR exception] Dashboard Exception Traceback (most recent call last): File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 94, in dashboard_exception_handler return handler(*args, **kwargs) File "/lib/python3.8/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 665, in inner ret = func(*args, **kwargs) File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 860, in wrapper return func(*vpath, **params) File "/lib/python3.8/contextlib.py", line 75, in inner return func(*args, **kwds) File "/lib/python3.8/contextlib.py", line 75, in inner return func(*args, **kwds) File "/usr/share/ceph/mgr/dashboard/controllers/rbd.py", line 86, in list return self._rbd_list(pool_name) File "/usr/share/ceph/mgr/dashboard/controllers/rbd.py", line 76, in _rbd_list status, value = RbdService.rbd_pool_list(pool) File "/usr/share/ceph/mgr/dashboard/tools.py", line 254, in wrapper return rvc.run(fn, args, kwargs) File "/usr/share/ceph/mgr/dashboard/tools.py", line 242, in run raise ViewCacheNoDataException() dashboard.exceptions.ViewCacheNoDataException: ViewCache: unable to retrieve data 2020-11-23T21:36:50.827+0100 7f8ef7e15640 0 [dashboard INFO request] [::ffff:192.168.2.201:56672] [GET] [200] [5.010s] [admin] [46.0B] /api/block/image 2020-11-23T21:36:51.077+0100 7f8ef460e640 0 [dashboard DEBUG notification_queue] processing queue: 1 |
This task depends upon
Closed by Thore Bödecker (foxxx0)
Wednesday, 01 September 2021, 09:39 GMT
Reason for closing: No response
Additional comments about closing: Due to lack of response I assume this is now fixed.
Wednesday, 01 September 2021, 09:39 GMT
Reason for closing: No response
Additional comments about closing: Due to lack of response I assume this is now fixed.
Please test them and report back.
2020-12-17T20:43:51.937+0100 7f850cdb0640 0 log_channel(cluster) log [DBG] : pgmap v151: 705 pgs: 3 active+clean+scrubbing+deep, 702 active+clean; 66 TiB data, 101 TiB used, 38 TiB / 139 TiB avail; 8.3 KiB/s rd, 255 B/s wr, 8 op/s
2020-12-17T20:43:53.567+0100 7f84ed071640 0 [dashboard ERROR exception] Dashboard Exception
Traceback (most recent call last):
File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 94, in dashboard_exception_handler
return handler(*args, **kwargs)
File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 666, in inner
ret = func(*args, **kwargs)
File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 861, in wrapper
return func(*vpath, **params)
File "/lib/python3.9/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/lib/python3.9/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/usr/share/ceph/mgr/dashboard/controllers/rbd.py", line 86, in list
return self._rbd_list(pool_name)
File "/usr/share/ceph/mgr/dashboard/controllers/rbd.py", line 76, in _rbd_list
status, value = RbdService.rbd_pool_list(pool)
File "/usr/share/ceph/mgr/dashboard/tools.py", line 254, in wrapper
return rvc.run(fn, args, kwargs)
File "/usr/share/ceph/mgr/dashboard/tools.py", line 242, in run
raise ViewCacheNoDataException()
dashboard.exceptions.ViewCacheNoDataException: ViewCache: unable to retrieve data
Thanks.