Bug 434846 - No available s390.py plugin exists, exists upstream but doesn't work.
Summary: No available s390.py plugin exists, exists upstream but doesn't work.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: sos
Version: 4.5
Hardware: s390x
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Adam Stokes
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-25 20:28 UTC by Eric Sammons
Modified: 2008-02-26 14:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-26 14:07:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch that when applied to sos/plugins/s390.py (from F8) will create a working plugin. (3.42 KB, patch)
2008-02-25 20:28 UTC, Eric Sammons
no flags Details | Diff

Description Eric Sammons 2008-02-25 20:28:48 UTC
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.

Comment 1 Eric Sammons 2008-02-25 20:28:48 UTC
Created attachment 295836 [details]
Patch that when applied to sos/plugins/s390.py (from F8) will create a working plugin.

Comment 2 Adam Stokes 2008-02-26 14:07:40 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


Note You need to log in before you can comment on or make changes to this bug.