Bug 1607601

Summary: MDS should dump recent log messages in memory before respawn
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Patrick Donnelly <pdonnell>
Component: CephFSAssignee: Patrick Donnelly <pdonnell>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.0CC: anharris, ceph-eng-bugs, edonnell, hnallurv, john.spray, pdonnell, rperiyas, tserlin, vumrao, zyan
Target Milestone: z5Keywords: CodeChange
Target Release: 3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.4-39.el7cp Ubuntu: ceph_12.2.4-44redhat1 Doc Type: Bug Fix
Doc Text:
The MDS will now dump recent log events in memory but not necessarily logged to the debug log file when the MDS respawns because the monitors have removed it from the MDSMap. This may occur when the MDS becomes stuck working on a long running operation. This is intended to help evaluate what the MDS was doing which resulted in the respawn.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-09 18:27:51 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:

Description Patrick Donnelly 2018-07-23 19:47:48 UTC
Description of problem:

When the MDS respawns because it has been removed from the MDSMap, it should dump recent events to the log (ones stored in memory but not logged to a file, in particular) so that the logs can be useful for diagnostic purposes.

Comment 3 Patrick Donnelly 2018-07-24 03:06:54 UTC
*** Bug 1607683 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2018-08-09 18:27:51 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-2018:2375