Bug 434849

Summary: No available s390.py plugin exists, exists upstream but doesn't work.
Product: Red Hat Enterprise Linux 5 Reporter: Eric Sammons <esammons>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.3CC: agk, bmr
Target Milestone: rc   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-26 14:08:03 UTC Type: ---
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
Patch, when applied to upstream version of sos/plugins/s390.py will create a working version. none

Description Eric Sammons 2008-02-25 20:31:33 UTC
+++ This bug was initially created as a clone of Bug #434846 +++

Description of problem:
There is no s390(x) sos plugin for RHEL 4 or RHEL 5, one exists up stream;
however it does not work on RHEL 4 and 5.  

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run sosreport
2. review data captured, missing s390 specific information.
3. Download and install F8 (upstream) plugin.
4. Run sosreport again
5. review logs
<snip>
2008-02-25 13:33:13,056 WARNING: plugin s390.py does not install, skipping
2008-02-25 13:33:13,056 WARNING: could not load plugin s390.py 
</snip>
  
Actual results:

Either no data is collected for s390 or if using the upstream plugin, the plugin
fails to load and is skipped.


Expected results:
capture s390 information.

Additional info:
I have created a plugin that works and a patch that updates the non-working version.

-- Additional comment from esammons on 2008-02-25 15:28 EST --
Created an attachment (id=295836)
Patch that when applied to sos/plugins/s390.py (from F8) will create a working
plugin.

Comment 1 Eric Sammons 2008-02-25 20:31:33 UTC
Created attachment 295838 [details]
Patch, when applied to upstream version of sos/plugins/s390.py will create a working version.

Comment 2 Adam Stokes 2008-02-26 14:08:03 UTC
The upstream version does work. It is just the fact that you are using an
upstream plugin with a shipped version of sosreport that tries to access a
function not yet released. In this case policyredhat getArch.

Ive committed some of the patch mainly the ones that we aren't capturing yet.

Please verify by downloading the _entire_ upstream trunk and testing against
both RHEL4 and RHEL5.

Thank you