Project

General

Profile

Bug #57876

prometheus ERROR failed to collect metrics

Added by Redouane Kachach Elhichou 4 months ago. Updated about 2 months ago.

Status:
Pending Backport
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

Copied to Orchestrator - Backport #58198: quincy: prometheus ERROR failed to collect metrics In Progress
Copied to Orchestrator - Backport #58199: pacific: prometheus ERROR failed to collect metrics In Progress

History

#1 Updated by Redouane Kachach Elhichou 4 months ago

  • Pull request ID set to 48507

#2 Updated by Redouane Kachach Elhichou 4 months ago

  • Status changed from New to Fix Under Review

#3 Updated by Adam King about 2 months ago

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

#4 Updated by Backport Bot about 2 months ago

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

#5 Updated by Backport Bot about 2 months ago

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

#6 Updated by Backport Bot about 2 months ago

  • Tags set to backport_processed

Also available in: Atom PDF