Project

General

Profile

Actions

Bug #4574

closed

mon: HEALTH_OK even if data health is HEALTH_WARN

Added by Joao Eduardo Luis about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Joao Eduardo Luis
Category:
Monitor
Target version:
-
% Done:

0%

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

Description

 ./ceph health --format=json
 { "summary": [],
   "timechecks": { "epoch": 1,
       "round": 0,
       "round_status": "finished"},
   "health": { "health_services": [
             { "mons": [
                     { "name": "a",
                       "kb_total": 476636184,
                       "kb_used": 326231536,
                       "kb_avail": 126192888,
                       "avail_percent": 26,
                       "last_updated": "2013-03-28 14:15:35.742807",
                       "health": "HEALTH_WARN",
                       "health_detail": "low disk space!"}]}]},
   "overall_status": "HEALTH_OK",
   "detail": []}

'overall_status' should be HEALTH_WARN.

Actions #1

Updated by Ian Colle about 11 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Joao Eduardo Luis about 11 years ago

proposed fix on wip-4574

Actions #3

Updated by Joao Eduardo Luis about 11 years ago

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

Updated by Greg Farnum about 11 years ago

  • Status changed from Fix Under Review to Resolved

Looks good to me; I tested and merged. f114fdc40a0aac9f38745c50dce18d186e657acd

Actions

Also available in: Atom PDF