Bug 1045522

Summary: redhat-support-plugin-rhev opens case but does not upload Log Collector. Stuck PENDING.
Product: Red Hat Enterprise Virtualization Manager Reporter: Robert McSwain <rmcswain>
Component: redhat-support-plugin-rhevAssignee: Spenser Shumaker <sshumake>
Status: CLOSED ERRATA QA Contact: Spenser Shumaker <sshumake>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, cpelland, iheim, knesenko, lyarwood, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.2.6   
Hardware: x86_64   
OS: Linux   
Whiteboard: gss
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When creating or updating a case from the administration portal, the operation hanged while trying to attach the logs to the case, citing a state of PENDING. The user had to close the dialog box and manually start the log collector from the Manager. This was caused by a bug with the SELinux plugin in the SOS report, which did not fail gracefully and caused redhat-support-plugin-rhev to fail. The SELinux plugin is now disabled, so logs can be attached to cases created from the administration portal.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-07 22:34:09 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:

Description Robert McSwain 2013-12-20 16:04:45 UTC
Description of problem:
From the web GUI when creating/updating a case and choosing to generate a log collector the operation hangs while is trying to attach the logs on the existing or newly generated case, citing a state of PENDING. This requires the user to the dialogue box and manually start the log collector from the manager.

Version-Release number of selected component (if applicable):
RHEV 3.2.4-0.44.el6ev 
Firefox as browser in Linux

How reproducible:
100%

Steps to Reproduce:
1. Right click and choose Red Hat Access
2. Create/Update a case and choose to upload a log collector (with or without hypervisors)
3. Output will be similar to 

Creating Case...01001601
RHEV Manager SOS Report...RUNNING
RHEV Manager Database...COMPLETE
rhevh-11.gsslab.rdu2.redhat.com...COMPLETE
Attaching logs to case...PENDING

Actual results:
The plugin hangs at Attaching logs to case...PENDING although the case is opened.

Expected results:
The logs are attached to the case.

Comment 1 Spenser Shumaker 2013-12-23 15:04:36 UTC
This is a duplicate bug with the storage plugin.  There currently is a bug with the SELinux plugin in SOS report.  It does not fail gracefully and causes the plugin to fail.  The SE Linux plugin has been disabled in >= 3.3.0.  In 3.2 the fix has been pushed but the errata has not yet been submitted.

Comment 4 errata-xmlrpc 2014-01-07 22:34:09 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.

http://rhn.redhat.com/errata/RHBA-2014-0012.html