Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 883757 Details for
Bug 1085042
sosreport will fail with "no space left" error, but it appears to generate a valid sosreport anyway
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Raise fatal IO exceptions in PluginBase
sos-bz1085042-raise-fatal-io-errors.patch (text/plain), 1.16 KB, created by
Bryn M. Reeves
on 2014-04-07 19:47:21 UTC
(
hide
)
Description:
Raise fatal IO exceptions in PluginBase
Filename:
MIME Type:
Creator:
Bryn M. Reeves
Created:
2014-04-07 19:47:21 UTC
Size:
1.16 KB
patch
obsolete
>commit 91f30641eb815d686e3a968e9ca56e9c4a47bb20 >Author: Bryn M. Reeves <bmr@redhat.com> >Date: Mon Apr 7 20:31:44 2014 +0100 > > Raise fatal IO exceptions in PluginBase > > Signed-off-by: Bryn M. Reeves <bmr@redhat.com> > >diff --git a/sos/plugintools.py b/sos/plugintools.py >index f4f7c0a..97deedf 100644 >--- a/sos/plugintools.py >+++ b/sos/plugintools.py >@@ -37,6 +37,7 @@ from time import time > from itertools import * > from collections import deque > import fnmatch >+import errno > > class PluginException(Exception): pass > >@@ -242,12 +243,14 @@ class PluginBase: > except PluginException: > self.soslog.debug("error copying file %s (already exists)" % (srcpath)) > return >- except IOError: >+ except IOError as e: >+ if e.errno in (errno.ENOSPC, errno.EROFS): >+ raise > self.soslog.info("error copying file %s (IOError)" % (srcpath)) > return > except: > self.soslog.exception("error copying file %s" % (srcpath)) >- return >+ raise > > self.copiedFiles.append({'srcpath':srcpath, 'dstpath':tdstpath, 'symlink':"no"}) # save in our list >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1085042
:
883724
|
883725
|
883755
|
883756
| 883757