Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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.