Project

General

Profile

Actions

Bug #41878

closed

mgr/prometheus: KeyError in mgr/prometheus/module.py", line 490, in get_mgr_status

Added by Sebastian Wagner over 4 years ago. Updated over 4 years ago.

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

0%

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

Description

https://github.com/rook/rook/issues/3873

[16/Sep/2019:14:44:34] HTTP Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/ceph/mgr/prometheus/module.py", line 1054, in metrics
    return self._metrics(instance)
  File "/usr/share/ceph/mgr/prometheus/module.py", line 1068, in _metrics
    instance.collect_cache = instance.collect()
  File "/usr/share/ceph/mgr/prometheus/module.py", line 918, in collect
    self.get_mgr_status()
  File "/usr/share/ceph/mgr/prometheus/module.py", line 490, in get_mgr_status
    always_on_modules = mgr_map['always_on_modules'][ceph_release]
KeyError: 'mimic'

mgr and mons are on 14.2.4 already, 2 of the OSDs as well. The remaining bits not yet. This is the condition this is happening in.

Rook issue: https://github.com/rook/rook/issues/3873


Related issues 2 (1 open1 closed)

Related to Dashboard - Bug #41740: mgr/dashboard: After upgrade, dashboard still shows old version sometimesNeed More Info

Actions
Copied to mgr - Backport #42144: nautilus: mgr/prometheus: KeyError in mgr/prometheus/module.py", line 490, in get_mgr_statusResolvedNathan CutlerActions
Actions #1

Updated by Sebastian Wagner over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Sebastian Wagner over 4 years ago

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

Updated by Sebastian Wagner over 4 years ago

  • Pull request ID set to 30421
Actions #4

Updated by Sebastian Wagner over 4 years ago

  • Related to Bug #41740: mgr/dashboard: After upgrade, dashboard still shows old version sometimes added
Actions #5

Updated by Sebastian Wagner over 4 years ago

#41740 might be the root cause of this issue.

Actions #6

Updated by Sebastian Wagner over 4 years ago

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

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #42144: nautilus: mgr/prometheus: KeyError in mgr/prometheus/module.py", line 490, in get_mgr_status added
Actions #8

Updated by Nathan Cutler over 4 years 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".

Actions

Also available in: Atom PDF