Project

General

Profile

Bug #46808

prometheus stats reporting fails with "KeyError"

Added by james gorrell 4 months ago. Updated 3 months ago.

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

0%

Source:
Community (user)
Tags:
prometheus, python
Backport:
nautilus, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Looking at the stats reported by prometheus, I noticed missing data points in the graph.
After looking into it, I found that a KeyError was aborting when an state which was not listed in PG_STATES.


Related issues

Copied to mgr - Backport #46936: octopus: prometheus stats reporting fails with "KeyError" Resolved
Copied to mgr - Backport #46937: nautilus: prometheus stats reporting fails with "KeyError" Resolved

History

#1 Updated by james gorrell 4 months ago

neha-ojha suggests this be backported, but I am unsure of the process.
Will leave that to someone who knows how to do it.

#2 Updated by Neha Ojha 4 months ago

  • Project changed from Ceph to mgr
  • Category deleted (Monitoring/Alerting)

#3 Updated by Neha Ojha 4 months ago

  • Status changed from New to Fix Under Review

#4 Updated by Kefu Chai 4 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from yes to nautilus, octopus

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #46936: octopus: prometheus stats reporting fails with "KeyError" added

#6 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #46937: nautilus: prometheus stats reporting fails with "KeyError" added

#7 Updated by Nathan Cutler 3 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF