Hide Forgot
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
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.