Bug 1250710

Summary: [1.2.3 - Ubuntu] backport of data-loss critical fix
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ken Dreyer (Red Hat) <kdreyer>
Component: BuildAssignee: Ken Dreyer (Red Hat) <kdreyer>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.2.3CC: ceph-eng-bugs, flucifre
Target Milestone: rc   
Target Release: 1.2.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1249235 Environment:
Last Closed: 2015-10-01 21:01:04 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 Ken Dreyer (Red Hat) 2015-08-05 19:31:53 UTC
This bug tracks the fix of bz 1247752 for Ubuntu 12.04 and 14.04 platforms.

Description of problem:

Log::reopen_log_file() does not take a lock, and _flush() might continue writing to m_fd after it has been closed.  This could result in lost log entries, or it could result in the log being written to an fd which has been opened by the filestore.  That latter case could cause data corruption.

Comment 1 Ken Dreyer (Red Hat) 2015-08-05 20:45:55 UTC
For non-RHEL, the fix will be in the Ceph v0.80.8.4 packages.

Comment 3 errata-xmlrpc 2015-10-01 21:01:04 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-2015:1572