Actions
Bug #57876
closedprometheus ERROR failed to collect metrics
% Done:
0%
Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
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'
Actions