Bug 672131 - Wrong method named in veritas.py
Summary: Wrong method named in veritas.py
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: sos
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jean-Francois Saucier
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-24 04:34 UTC by Masatake YAMATO
Modified: 2011-03-21 23:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-21 23:33:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
A patch fix the issue. (603 bytes, patch)
2011-01-24 04:34 UTC, Masatake YAMATO
no flags Details | Diff

Description Masatake YAMATO 2011-01-24 04:34:32 UTC
Created attachment 474891 [details]
A patch fix the issue.

Description of problem:

While reading source code of sos, I've found a strange method name.
I think this will causes a bug.

`addcopyspec' method is invoked to collect /proc/sys/vxvm/vxio
in lib/sos/plugins/veritas.py. However, there is no such method
in source files in sosreport. Instead `addCopySpec' is defined and
used widly. 

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

the latest from svn repository.

How reproducible:

See lib/sos/plugins/veritas.py and search /proc/sys/vxvm/vxio.
You will see following line:

        self.addCopySpec("/proc/sys/vxvm/vxinfo")
        self.addcopyspec("/proc/sys/vxvm/vxio") <<<
        # vvr/svrm specific information
        self.addCopySpec("/etc/vx/vras")

Steps to Reproduce:
1.
2.
3.
  
Actual results:

addcopyspec.

Expected results:

addCopySpec.

Additional info:

Comment 1 Pierre Carrier 2011-03-21 23:33:13 UTC
Appeared in trunk but was never released, already removed as "/proc/sys" is included through system.py.


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