Project

General

Profile

Bug #41878

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

Added by Sebastian Wagner 28 days ago. Updated 18 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
prometheus module
Target version:
-
Start date:
09/17/2019
Due date:
% Done:

0%

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

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

Related to mgr - Bug #41740: mgr/dashboard: After upgrade, dashboard still shows old version sometimes Need More Info 09/10/2019
Copied to mgr - Backport #42144: nautilus: mgr/prometheus: KeyError in mgr/prometheus/module.py", line 490, in get_mgr_status In Progress

History

#1 Updated by Sebastian Wagner 28 days ago

  • Description updated (diff)

#2 Updated by Sebastian Wagner 28 days ago

  • Status changed from New to Need Review

#3 Updated by Sebastian Wagner 28 days ago

  • Pull request ID set to 30421

#4 Updated by Sebastian Wagner 28 days ago

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

#5 Updated by Sebastian Wagner 28 days ago

#41740 might be the root cause of this issue.

#6 Updated by Sebastian Wagner 18 days ago

  • Status changed from Need Review to Pending Backport

#7 Updated by Nathan Cutler 13 days ago

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

Also available in: Atom PDF