Bug 1232229

Summary: [6.7_3.5.4]Sosreport doesn't work
Product: Red Hat Enterprise Virtualization Manager Reporter: haiyang,dong <hadong>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.1CC: cshao, fdeutsch, gklein, gouyang, huiwa, leiwang, lsurette, sbonazzo, ycui, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: ZStream
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-3.3.0-0.4.20150906git14a6024.el7ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1235576 (view as bug list) Environment:
Last Closed: 2016-03-09 14:31:04 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:
Bug Depends On:    
Bug Blocks: 1235576    

Description haiyang,dong 2015-06-16 10:26:57 UTC
Description of problem:
[6.7_3.5.4] Sosreport doesn't work.

[root@dhcp-8-115 admin]# sosreport 
sosreport (version 3.2)
no valid plugins were enabled

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.7-20150609.0
ovirt-node-3.2.3-3.el6.noarch
sos-3.2-26.el6.noarch

How reproducible:
100%
QA Whiteboard: 
Not regression bug

Steps to Reproduce:
1. Install rhev-hypervisor6-6.7-20150609.0
2. Run command "sosreport" in shell.

Actual results:
sosreport doesn't work

Expected results:
sosreport can work fine.

Additional info:

Comment 1 Fabian Deutsch 2015-06-16 12:40:52 UTC
Is probably a not applying patch in our recipes.

Comment 2 Yaniv Lavi 2015-06-18 12:32:48 UTC
Please make sure the optional log collector package for 6.7 is pulled and not the wrong 6.6 package.

Comment 3 Fabian Deutsch 2015-06-18 12:39:53 UTC
Yaniv, can you please specify the exact package you mean?

Comment 4 Fabian Deutsch 2015-06-18 12:50:39 UTC
The symptom of this bug is, that no sos report will be created.

Comment 6 Yaniv Lavi 2015-06-18 16:12:55 UTC
Can you help here, what package is needed for 6.7 log collection?

Comment 7 Sandro Bonazzola 2015-06-19 06:35:18 UTC
(In reply to Yaniv Dary from comment #6)
> Can you help here, what package is needed for 6.7 log collection?

We're talking about node. Only sos is needed.
Issue is that all sos plugins have been deleted within the node image.

rhevm-log-collector and rhevm-log-collector-sos-plugins(if the appliance is not 6.7 based, otherwise it's not needed) are needed only in the appliance, not on the node host.

Comment 8 Fabian Deutsch 2015-06-24 07:27:54 UTC
Thanks for the clarification Sandro.

Comment 12 cshao 2015-10-09 08:50:53 UTC
Test version:
rhev-hypervisor7-7.2-20150928.0
ovirt-node-3.3.0-0.10.20150928gite7ee3f1.el7ev.noarch
sos-3.2-33.el7.noarch

Test steps:
1. Install rhev-hypervisor7-7.2-20150928.0.
2. Run command "sosreport" in shell.

Test result:
sosreport can work fine.
So the bug is fixed, change bug status to VERIFIED.

# sosreport 

sosreport (version 3.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
/var/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 [dhcp-9-161.nay.redhat.com]: 
Please enter the case id that you are generating this report for []: 

 Setting up archive ...
 Setting up plugins ...
[plugin:virsh] command 'virsh list --all' timed out after 300s
 Running plugins. Please wait ...

  Running 86/86: yum...              ..        
Creating compressed archive...

Your sosreport has been generated and saved in:
  /var/tmp/sosreport-dhcp-9-161.nay.redhat.com-20151009080837.tar.xz

The checksum is: 9cde9bf7ad90d17fda2f9c554f05d4f1

Please send this file to your support representative.

Comment 14 errata-xmlrpc 2016-03-09 14:31:04 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/RHBA-2016-0378.html