Bug 457880 - Include output of "xm list" and "xm list --long" in sos
Include output of "xm list" and "xm list --long" in sos
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos (Show other bugs)
5.4
All Linux
urgent Severity medium
: rc
: ---
Assigned To: Adam Stokes
: ZStream
Depends On:
Blocks: 467073
  Show dependency treegraph
 
Reported: 2008-08-05 02:50 EDT by Sadique Puthen
Modified: 2009-03-13 07:02 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-20 16:41:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sadique Puthen 2008-08-05 02:50:04 EDT
Description of problem:

In certain scenarios it's useful to collect the output of "xm list" and "xm list --long" in the sos output. It's very helpful to troubleshoot issues related with xen guests. Some info provided with "xm list --long" can be retrived from xenstore-ls, but not very easy and not all info.

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


How reproducible:


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


Expected results:


Additional info:

Patch:

--- sos-1.7/lib/sos/plugins/xen.py.orig 2008-08-05 11:56:19.000000000 +0530
+++ sos-1.7/lib/sos/plugins/xen.py      2008-08-05 11:57:58.000000000 +0530
@@ -67,6 +67,8 @@
             self.collectExtOutput("/usr/sbin/xm dmesg")
             self.collectExtOutput("/usr/sbin/xm info")
             self.collectExtOutput("/usr/sbin/brctl show")
+           self.collectExtOutput("/usr/sbin/xm list")
+           self.collectExtOutput("/usr/sbin/xm list --long")
             self.domCollectProc()
             self.addCopySpec("/sys/hypervisor")
             # FIXME: we *might* want to collect things in /sys/bus/xen*,
Comment 7 errata-xmlrpc 2009-01-20 16:41:49 EST
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-2009-0171.html

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