Bug 394781

Summary: RHEL4 sosreport has no support for lvmdump
Product: Red Hat Enterprise Linux 4 Reporter: Bryn M. Reeves <bmr>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: urgent    
Version: 4.6CC: agk, bmr
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0663 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:30:48 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:
Bug Depends On:    
Bug Blocks: 450860, 450861    

Description Bryn M. Reeves 2007-11-21 19:26:10 UTC
Description of problem:
There is no support in the RHEL4 sosreport for gathering an lvmdump tarball that
is used to debug LVM2 and device-mapper related problems.

This is a standard format for this data that is supported/maintained by the
upstream project via the lvmdump script that is installed with the lvm2 RPM
(introduced in RHEL-4.5).

Not having this data in the sosreport archive generates needless back/fore
requests for additional info in dealing with LVM2/device-mapper problems.

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

How reproducible:
100%

Steps to Reproduce:
1. make sure sos is installed
2. grep -r /usr/lib/python2.3/site-packages/sos

  
Actual results:
$ grep -r /usr/lib/python2.3/site-packages/sos
$

Expected results:
$ grep -r lvmdump /usr/lib/python2.3/site-packages/sos/plugins/devicemapper.py 
    optionList = [("lvmdump", 'collect raw metadata from PVs', 'slow', False)]
    def do_lvmdump(self):
        sosGetCommandOutput("lvmdump -d %s" %
os.path.join(self.cInfo['dstroot'],"lvmdump"))
        if self.getOption('lvmdump'):
            self.do_lvmdump()
[...]

Additional info:

Comment 3 Bryn M. Reeves 2008-04-16 10:53:22 UTC
There's also a bug in the upstream sos version now in RHEL5 - lvmdump should be
run by default instead of the hard-coded lvm data gathering that now exists.


Comment 7 Suzanne Logcher 2008-05-28 21:28:03 UTC
Unfortunately this bugzilla was not resolved in time for RHEL 4.7 Beta.
It has now been proposed for inclusion in RHEL 4.8 but must regain Product
Management approval.

Comment 19 errata-xmlrpc 2008-07-24 19:30:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0663.html