Bug 1043679

Summary: sosreport reports traceback error for gluster and IOErrors on 6.5 hosts
Product: Red Hat Enterprise Linux 6 Reporter: wdaniel
Component: sosAssignee: Bryn M. Reeves <bmr>
Status: CLOSED NOTABUG QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: high    
Version: 6.5CC: agk, benglish, bmr, fdeutsch, gavin, iheim, wdaniel, yeylon
Target Milestone: rc   
Target Release: 6.5   
Hardware: x86_64   
OS: Linux   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-04 14:38:11 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:
Attachments:
Description Flags
verbose sosreport output none

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.