Project

General

Profile

Actions

Bug #23166

closed

mgr: prometheus: internal server error while new OSDs are being added to the cluster.

Added by Subhachandra Chandra about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
prometheus module
Target version:
-
% Done:

0%

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

Description

Found in v12.2.3

When new OSDs are being added to the cluster, the Prometheus endpoint returns the following error:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in call
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in call
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/ceph/mgr/prometheus/module.py", line 414, in metrics
metrics = global_instance().collect()
File "/usr/lib/ceph/mgr/prometheus/module.py", line 351, in collect
self.get_metadata_and_osd_status()
File "/usr/lib/ceph/mgr/prometheus/module.py", line 307, in get_metadata_and_osd_status
dev_class = next((osd for osd in osd_devices if osd['id'] == id_))
StopIteration


Related issues 1 (0 open1 closed)

Copied to mgr - Backport #23313: luminous: mgr: prometheus: internal server error while new OSDs are being added to the cluster.ResolvedBoris RantoActions
Actions #1

Updated by John Spray about 6 years ago

  • Status changed from New to Fix Under Review
  • Backport set to luminous
Actions #2

Updated by Kefu Chai about 6 years ago

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

Updated by Nathan Cutler about 6 years ago

  • Copied to Backport #23313: luminous: mgr: prometheus: internal server error while new OSDs are being added to the cluster. added
Actions #4

Updated by Nathan Cutler about 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF