Project

General

Profile

Actions

Bug #57876

closed

prometheus ERROR failed to collect metrics

Added by Redouane Kachach Elhichou over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

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

Description

Oct 17 08:49:41 ceph-node-0 ceph-mgr[11536]: [prometheus ERROR root] failed to collect metrics:
                                             Traceback (most recent call last):
                                               File "/usr/share/ceph/mgr/prometheus/module.py", line 508, in collect
                                                 data = self.mod.collect()
                                               File "/usr/share/ceph/mgr/mgr_util.py", line 848, in wrapper
                                                 result = f(*args, **kwargs)
                                               File "/usr/share/ceph/mgr/prometheus/module.py", line 1589, in collect
                                                 self.get_fs()
                                               File "/usr/share/ceph/mgr/mgr_util.py", line 848, in wrapper
                                                 result = f(*args, **kwargs)
                                               File "/usr/share/ceph/mgr/prometheus/module.py", line 945, in get_fs
                                                 servers = self.get_service_list()
                                               File "/usr/share/ceph/mgr/prometheus/module.py", line 1076, in get_service_list
                                                 host, service['ceph_version'], service.get('name', ''))})
                                             KeyError: 'ceph_version'


Related issues 2 (0 open2 closed)

Copied to Orchestrator - Backport #58198: quincy: prometheus ERROR failed to collect metricsResolvedAdam KingActions
Copied to Orchestrator - Backport #58199: pacific: prometheus ERROR failed to collect metricsResolvedAdam KingActions
Actions #1

Updated by Redouane Kachach Elhichou over 1 year ago

  • Pull request ID set to 48507
Actions #2

Updated by Redouane Kachach Elhichou over 1 year ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Adam King over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to quincy, pacific
Actions #4

Updated by Backport Bot over 1 year ago

  • Copied to Backport #58198: quincy: prometheus ERROR failed to collect metrics added
Actions #5

Updated by Backport Bot over 1 year ago

  • Copied to Backport #58199: pacific: prometheus ERROR failed to collect metrics added
Actions #6

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #7

Updated by Adam King about 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF