Bug 1464981 - [RFE]: Sanitized health check format
Summary: [RFE]: Sanitized health check format
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RADOS
Version: 3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 3.0
Assignee: John Spray
QA Contact: shylesh
Erin Donnelly
URL:
Whiteboard:
Depends On:
Blocks: 1494421
TreeView+ depends on / blocked
 
Reported: 2017-06-26 11:01 UTC by John Spray
Modified: 2017-12-05 23:35 UTC (History)
9 users (show)

Fixed In Version: RHEL: ceph-12.1.4-1.el7cp Ubuntu: ceph_12.1.4-2redhat1xenial
Doc Type: Enhancement
Doc Text:
.Ceph health checks are more easily integrated with external alerting systems Ceph's built-in health checks have been refactored to enable more robust integration with external alerting systems. For each condition that is checked, there is now a unique status code, for example `PG_AVAILABILITY`. NOTE: Any external script that was relying on the JSON syntax of the `ceph status` or `ceph health` command output must be updated for the new format. To ease migration, set the `mon_health_preluminous_compat` parameter to `True` on Monitors to instruct `ceph status` and `ceph health` to generate old-style health output in addition to the new output.
Clone Of:
Environment:
Last Closed: 2017-12-05 23:35:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 7192 0 None None None 2017-06-26 11:01:35 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description John Spray 2017-06-26 11:01:36 UTC
Each possible WRN/ERR health condition gets a unique code.  Active conditions get a metadata map that enables other UIs to display the message in a way of their choosing and link to relevant items (affected pools, osds etc).

These codes can be used to refer to documentation, and simplify handling the health status output in other UIs.

Comment 3 Josh Durgin 2017-07-19 00:17:13 UTC
No work on this upstream yet.

Comment 4 John Spray 2017-07-19 10:52:36 UTC
This is the health check changes that we landed last week.

Comment 7 John Spray 2017-08-16 11:32:03 UTC
Yes, it's in there.  Just bad housekeeping on my part: I've marked the upstream ticket resolved now.

Comment 17 errata-xmlrpc 2017-12-05 23:35:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3387


Note You need to log in before you can comment on or make changes to this bug.