Project

General

Profile

Actions

Bug #55571

closed

mgr/dashboard: smart data fetching error

Added by Nizamudeen A almost 2 years ago. Updated almost 2 years ago.

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

0%

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

Description

May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]: debug 2022-05-06T13:38:39.167+0000 7ff5becc6700  0 [dashboard ERROR exception] Internal Server Error
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]: Traceback (most recent call last):
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:   File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 46, in dashboard_exception_handler
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:     return handler(*args, **kwargs)
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:   File "/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:     return self.callable(*self.args, **self.kwargs)
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:   File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 258, in inner
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:     ret = func(*args, **kwargs)
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:   File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 191, in wrapper
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:     return func(*vpath, **params)
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:   File "/usr/share/ceph/mgr/dashboard/controllers/host.py", line 364, in smart
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:     return CephService.get_smart_data_by_host(hostname)
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:   File "/usr/share/ceph/mgr/dashboard/services/ceph_service.py", line 318, in get_smart_data_by_host
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:     CephService._get_smart_data_by_device(device))
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:   File "/usr/share/ceph/mgr/dashboard/services/ceph_service.py", line 253, in _get_smart_data_by_device
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]:     svc_type, svc_id = daemon.split('.')
May 06 07:38:39 occldlr750-1.occl208.lab conmon[2142938]: ValueError: too many values to unpack (expected 2)

Related issues 2 (0 open2 closed)

Copied to Dashboard - Backport #55597: pacific: mgr/dashboard: smart data fetching errorResolvedActions
Copied to Dashboard - Backport #55598: quincy: mgr/dashboard: smart data fetching errorResolvedNizamudeen AActions
Actions #1

Updated by Nizamudeen A almost 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 46196
Actions #2

Updated by Ernesto Puerta almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55597: pacific: mgr/dashboard: smart data fetching error added
Actions #4

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55598: quincy: mgr/dashboard: smart data fetching error added
Actions #5

Updated by Ernesto Puerta almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF