Project

General

Profile

Actions

Bug #42443

closed

mgr/dashboard: AttributeError: 'NoneType' object has no attribute 'items' in smart data integration

Added by Patrick Seidensal over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Monitoring
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

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/lib/python3/dist-packages/cherrypy/lib/encoding.py", line 220, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/cherrypy/_cptools.py", line 237, in wrap
    return self.newhandler(innerfunc, *args, **kwargs)
  File "/mnt/nvme_ceph/ceph/src/pybind/mgr/dashboard/services/exception.py", line 88, 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 "/mnt/nvme_ceph/ceph/src/pybind/mgr/dashboard/controllers/__init__.py", line 657, in inner
    ret = func(*args, **kwargs)
  File "/mnt/nvme_ceph/ceph/src/pybind/mgr/dashboard/controllers/__init__.py", line 850, in wrapper
    return func(*vpath, **params)
  File "/mnt/nvme_ceph/ceph/src/pybind/mgr/dashboard/controllers/osd.py", line 90, in get_smart_data
    return self._get_smart_data(svc_id)
  File "/mnt/nvme_ceph/ceph/src/pybind/mgr/dashboard/controllers/osd.py", line 80, in _get_smart_data
    for _, dev_data in dev_smart_data.items():
AttributeError: 'NoneType' object has no attribute 'items'
Actions #1

Updated by Patrick Seidensal over 4 years ago

  • Subject changed from mgr/dashboard: smart data integration throws error to mgr/dashboard: AttributeError: 'NoneType' object has no attribute 'items' in smart data integration
Actions #2

Updated by Patrick Seidensal over 4 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Patrick Seidensal over 4 years ago

  • Affected Versions v15.0.0 added
Actions #4

Updated by Patrick Seidensal over 4 years ago

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

Updated by Patrick Seidensal over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions #6

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 148 to Monitoring
Actions

Also available in: Atom PDF