Bug 1112538

Summary: Throw traceback error info when using "sosreport" command to collect diagnostic and configuration information from rhevh
Product: Red Hat Enterprise Virtualization Manager Reporter: haiyang,dong <hadong>
Component: ovirt-nodeAssignee: Anatoly Litovsky <tlitovsk>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 3.4.0CC: aberezin, audgiri, bmr, cshao, dfediuck, fdeutsch, gouyang, hadong, huiwa, iheim, leiwang, virt-bugs, ycui
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 20:59:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description haiyang,dong 2014-06-24 07:24:42 UTC
Description of problem:
Although using "sosreport" command to collect diagnostic and configuration information from rhevh
success, but it was thrown traceback error info like follow:
[root@localhost admin]# sosreport 

sosreport (version 2.2)


  This command will collect diagnostic and configuration
information from this Red Hat Enterprise Linux system and
installed applications.

  An archive containing the collected information will be
generated in /tmp and may be provided to a Red Hat support
representative.

  Any information provided to Red Hat will be treated in
accordance with the published support policies at:


  https://access.redhat.com/support/

  The generated archive may contain data considered
sensitive and its content should be reviewed by the
originating organization before being passed to any third
party.

  No changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit.

Please enter your first initial and last name [localhost]: 
Please enter the case number that you are generating this report for [None]: 

glusterfs: no process killed
glusterfsd: no process killed
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 729, in sosreport
  File "/usr/lib/python2.6/site-packages/sos/plugins/gluster.py", line 113, in setup
OSError: [Errno 2] No such file or directory: '/sos_commands/gluster/glusterfs-statedumps'
  Running plugins. Please wait ...

  Completed [55/55] ...      
Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-localhost-20140624022651-8b25.tar.xz

The md5sum is: 72035b6a52db44a5ac6793884c3c8b25

Please send this file to your support representative.



Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20140618.0.el6ev
ovirt-node-3.0.1-18.el6_5.10.noarch

How reproducible:
100%
QA Whiteboard: sosreport
Not regression bug

Steps to Reproduce:


Actual results:


Expected results:

Additional info:
No this issue in rhel6.5

Comment 1 Bryn M. Reeves 2014-09-11 09:47:41 UTC
What version of the sos package is in use?

Comment 2 Ying Cui 2014-09-12 07:31:01 UTC
needinfo hadong@ here for comment 1

Comment 3 haiyang,dong 2014-09-12 07:58:27 UTC
(In reply to Bryn M. Reeves from comment #1)
> What version of the sos package is in use?

[root@dhcp-9-184 admin]# cat /etc/issue
Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140618.0.el6ev)
Kernel \r on an \m (\l)

Please login as 'admin' to configure the node
[root@dhcp-9-184 admin]# rpm -qa |grep sos
sos-2.2-47.el6_5.1.noarch

Comment 4 haiyang,dong 2014-09-12 08:42:25 UTC
*** Bug 1140406 has been marked as a duplicate of this bug. ***

Comment 8 Ryan Barry 2014-10-01 17:53:33 UTC
QE, can you test this on 6.6 when available, please?

Comment 9 haiyang,dong 2014-10-08 03:20:47 UTC
(In reply to Ryan Barry from comment #8)
> QE, can you test this on 6.6 when available, please?

Test version:
rhev-hypervisor6-6.6-20141007.0.el6ev.noarch
ovirt-node-3.1.0-0.20.20141006gitc421e04.el6.noarch


[root@dhcp-66-73-116 admin]# sosreport 

sosreport (version 2.2)

no valid plugins were enabled
[root@dhcp-66-73-116 admin]# rpm -qa |grep sos
sos-2.2-68.el6.noarch
[root@dhcp-66-73-116 admin]# 

seems "sosreport" command didn't collect diagnostic and configuration
information from this Red Hat Enterprise Linux system and
installed applications.

Comment 17 haiyang,dong 2014-11-24 10:00:24 UTC
Test version:
rhevh-6.6-20141119.0.el6ev.iso
ovirt-node-3.1.0-0.27.20141119git24e087e.el6.noarch
sos-2.2-68.el6.noarch


seems "sosreport" command could collect diagnostic and configuration
information from this Red Hat Enterprise Linux system and
installed applications.

so this bug has been fixed in in rhevh 6.6 for RHEV 3.5 bulid version, change the status into "VERIFIED"

Comment 19 errata-xmlrpc 2015-02-11 20:59:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-0160.html