Bug 1043679 - sosreport reports traceback error for gluster and IOErrors on 6.5 hosts
Summary: sosreport reports traceback error for gluster and IOErrors on 6.5 hosts
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sos
Version: 6.5
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 6.5
Assignee: Bryn M. Reeves
QA Contact: BaseOS QE - Apps
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-16 22:01 UTC by wdaniel
Modified: 2018-12-04 16:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-04 14:38:11 UTC
Target Upstream Version:


Attachments (Terms of Use)
verbose sosreport output (436.96 KB, text/plain)
2013-12-16 22:01 UTC, wdaniel
no flags Details

Description wdaniel 2013-12-16 22:01:55 UTC
Created attachment 837440 [details]
verbose sosreport output

Description of problem:

After customers have installed/upgraded to a 6.5 host their sosreport tool reports errors collecting files or running commands. Using 'sosreport -vvv' shows that 'could not run command', 'IOError', and 'file already exists' occur very frequently.



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

Red Hat Enterprise Virtualization Hypervisor release 6.5 (20131115.0.3.2.el6_5)
sos-2.2-47.el6.noarch

How reproducible:
Very

Steps to Reproduce:
1. Install 6.5 hypervisor image
2. Attempt to run sosreport
3.

Actual results:
Error messages are thrown, most related to storage

Expected results:
sosreport completes successfully

Additional info:

Sample messages:
2013-12-10 10:42:33,863 INFO: could not run command: /sbin/multipath -v4 -ll
2013-12-10 10:42:33,863 INFO: could not run command: /usr/bin/systool -v -c -b scsi
2013-12-10 10:42:42,106 INFO: error copying file /sys/bus/scsi/uevent (IOError)
2013-12-10 10:42:42,107 INFO: error copying file /sys/bus/scsi/drivers/sd/uevent (IOError)
2013-12-10 10:42:42,108 INFO: error copying file /sys/bus/scsi/drivers/sd/unbind (IOError)
2013-12-10 10:42:42,108 INFO: error copying file /sys/bus/scsi/drivers/sd/bind (IOError)
2013-12-10 10:42:42,108 INFO: error copying file /sys/bus/scsi/drivers/sr/uevent (IOError)
2013-12-10 10:42:42,109 INFO: error copying file /sys/bus/scsi/drivers/sr/unbind (IOError)
2013-12-10 10:42:42,109 INFO: error copying file /sys/bus/scsi/drivers/sr/bind (IOError)
2013-12-10 10:42:42,109 INFO: error copying file /sys/bus/scsi/drivers/ses/uevent (IOError)
2013-12-10 10:42:42,110 INFO: error copying file /sys/bus/scsi/drivers/ses/unbind (IOError)
2013-12-10 10:42:42,110 INFO: error copying file /sys/bus/scsi/drivers/ses/bind (IOError)
2013-12-10 10:42:42,110 INFO: error copying file /sys/bus/scsi/drivers_probe (IOError)
2013-12-10 10:42:42,408 INFO: could not run command: /usr/bin/cpufreq-info
2013-12-10 10:42:42,854 INFO: could not run command: /usr/bin/systool -c fc_host -v
2013-12-10 10:42:42,854 INFO: could not run command: /usr/bin/systool -c scsi_host -v

Comment 5 Bryn M. Reeves 2014-03-04 14:38:11 UTC
These messages are logged as INFO loglevel - they are not errors and there is no bug here:

2013-12-10 10:42:33,863 INFO: could not run command: /sbin/multipath -v4 -ll
2013-12-10 10:42:33,863 INFO: could not run command: /usr/bin/systool -v -c -b scsi

These are commands that did not exist on the system. This is perfectly valid and has behaved this way for a very long time.

2013-12-10 10:42:42,106 INFO: error copying file /sys/bus/scsi/uevent (IOError)
2013-12-10 10:42:42,107 INFO: error copying file /sys/bus/scsi/drivers/sd/uevent (IOError)
2013-12-10 10:42:42,108 INFO: error copying file /sys/bus/scsi/drivers/sd/unbind (IOError)
2013-12-10 10:42:42,108 INFO: error copying file /sys/bus/scsi/drivers/sd/bind (IOError)
2013-12-10 10:42:42,108 INFO: error copying file /sys/bus/scsi/drivers/sr/uevent (IOError)
2013-12-10 10:42:42,109 INFO: error copying file /sys/bus/scsi/drivers/sr/unbind (IOError)
2013-12-10 10:42:42,109 INFO: error copying file /sys/bus/scsi/drivers/sr/bind (IOError)
2013-12-10 10:42:42,109 INFO: error copying file /sys/bus/scsi/drivers/ses/uevent (IOError)
2013-12-10 10:42:42,110 INFO: error copying file /sys/bus/scsi/drivers/ses/unbind (IOError)
2013-12-10 10:42:42,110 INFO: error copying file /sys/bus/scsi/drivers/ses/bind (IOError)
2013-12-10 10:42:42,110 INFO: error copying file /sys/bus/scsi/drivers_probe (IOError)

These are pseudo files in /sys that do not support IO. It's normal to see IO errors logged for these (again, this is the reason that this is logged at INFO level and not displayed to the user by default).

2013-12-10 10:42:42,408 INFO: could not run command: /usr/bin/cpufreq-info
2013-12-10 10:42:42,854 INFO: could not run command: /usr/bin/systool -c fc_host -v
2013-12-10 10:42:42,854 INFO: could not run command: /usr/bin/systool -c scsi_host -v

Commands not present on system.


Note You need to log in before you can comment on or make changes to this bug.