Bug 858922

Summary: release should catch IOError during flush
Product: [Fedora] Fedora Reporter: Amit Saha <asaha>
Component: python-concurrentloghandlerAssignee: Dan Callaghan <dcallagh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dcallagh, ebaak, pingou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-concurrentloghandler-0.8.4-9.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-28 01:06:46 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:
Attachments:
Description Flags
Proposed Patch (something like that) none

Description Amit Saha 2012-09-20 04:07:38 UTC
Created attachment 614668 [details]
Proposed Patch (something like that)

Description of problem:

IOError should be caught during flush, for events such as a disk full and the logs cannot be flushed out successfully. 

Version-Release number of selected component (if applicable):

0.8.4-7

How reproducible:

Sporadic, may be.

Steps to Reproduce:
1. See description
2.
3.
  
Actual results:

Crash


Expected results:

Catch the exception and possibly log it into the system log.

Additional info:

Comment 1 Dan Callaghan 2013-05-16 07:05:12 UTC
Right, the logging handlers in the stdlib do avoid raising at all costs (exceptions in the emit method are caught and self.handleError is called, which by default discards the exception). So it makes sense to do the same for the flush call here.

Comment 2 Fedora Update System 2013-05-16 07:41:25 UTC
python-concurrentloghandler-0.8.4-9.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-concurrentloghandler-0.8.4-9.fc18

Comment 3 Fedora Update System 2013-05-16 07:42:36 UTC
python-concurrentloghandler-0.8.4-9.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-concurrentloghandler-0.8.4-9.fc17

Comment 4 Fedora Update System 2013-05-16 07:43:10 UTC
python-concurrentloghandler-0.8.4-9.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/python-concurrentloghandler-0.8.4-9.fc19

Comment 5 Fedora Update System 2013-05-17 03:29:19 UTC
Package python-concurrentloghandler-0.8.4-9.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-concurrentloghandler-0.8.4-9.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8400/python-concurrentloghandler-0.8.4-9.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-05-24 20:45:12 UTC
python-concurrentloghandler-0.8.4-9.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-05-28 01:05:08 UTC
python-concurrentloghandler-0.8.4-9.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-05-28 01:06:46 UTC
python-concurrentloghandler-0.8.4-9.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.