NRPE: check_ceph_status raised unknown exception '<class 'KeyError'>'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Looks like there is no key as status_
[nagios status]
juju-juju-
UNKNOWN 2018-03-19 11:35:41 0d 3h 9m 29s 4/4 check_ceph_status raised unknown exception '<class 'KeyError'>'
# /usr/local/
check_ceph_status raised unknown exception '<class 'KeyError'>'
=======
Traceback (most recent call last):
File "/usr/local/
msg = check_ceph_
File "/usr/local/
for status in status_
KeyError: 'summary'
=======
# ceph --version
ceph version 12.2.1 (3e7492b9ada8bd
# ceph status --format json-pretty | head -n 20
{
"fsid": "e20740ce-
"health": {
"checks": {},
"status": "HEALTH_OK",
},
"election_
"quorum": [
0,
1,
2
],
"quorum_names": [
],
"monmap": {
Looks like https:/ /review. openstack. org/#/c/ 562133/ tries to address this one as well. So marking it as a duplicate.