Bug 1464980

Summary: [RFE]: Improved/sanitized cluster log
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: John Spray <john.spray>
Component: RADOSAssignee: John Spray <john.spray>
Status: CLOSED ERRATA QA Contact: shylesh <shmohan>
Severity: urgent Docs Contact: Bara Ancincova <bancinco>
Priority: urgent    
Version: 3.0CC: anharris, ceph-eng-bugs, dzafman, hnallurv, jdurgin, john.spray, kchai, kdreyer
Target Milestone: rcKeywords: FutureFeature
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.0-1.el7cp Ubuntu: ceph_12.2.0-2redhat1xenial Doc Type: Enhancement
Doc Text:
.Improvements in the cluster log The cluster log has been improved. Certain unnecessary messages, such as audit log, PGMap 5 second, or print on every `osdmap` epoch, have been removed. Other messages were improved to use a more human-readable format. Also, a message is not logged when health checks fail. In addition, a new command, `log last`, is now supported. The command shows the recent log messages.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:35:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1494421    

Description John Spray 2017-06-26 10:53:21 UTC
Remove/hide by default:
 * audit log spew
 * PGMap 5 second spew
 * print on every osdmap epoch

Add:
 * Log messages when health checks fail/recover
 * Human readable messages when key up/down/failover events happen for OSD, MDS, mon, mgr.
 * `log last` command to see recent log messages

Comment 4 Josh Durgin 2017-08-30 18:03:57 UTC
https://github.com/ceph/ceph/pull/15643

Comment 8 John Spray 2017-10-24 09:37:41 UTC
Looks fine to me.

Comment 12 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