Actions
Bug #23300
closedceph-mgr returns internal error
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
prometheus module
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Hello,
after some weeks of running a new ceph cluster, we get the following answer from the mgr:
black3.place6:~# curl http://[2a0a:e5c0:2:1:20d:b9ff:fe48:3bb8]:9283/metrics
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>500 Internal Server Error</title>
<style type="text/css">
#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}
#traceback {
color: red;
}
</style>
</head>
<body>
<h2>500 Internal Server Error</h2>
<p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/lib/ceph/mgr/prometheus/module.py", line 414, in metrics
metrics = global_instance().collect()
File "/usr/lib/ceph/mgr/prometheus/module.py", line 351, in collect
self.get_metadata_and_osd_status()
File "/usr/lib/ceph/mgr/prometheus/module.py", line 310, in get_metadata_and_osd_status
dev_class['class'],
KeyError: 'class'
<div id="powered_by">
<span>
Powered by <a href="http://www.cherrypy.org&quot;&gt;CherryPy 3.5.0</a>
</span>
</div>
</body>
</html>
Changing / starting another mgr does not fix this problem.
Using 12.2.4-1~bpo90+1 on Devuan Ascii
Files
Actions