Bug 457880 - Include output of "xm list" and "xm list --long" in sos
Include output of "xm list" and "xm list --long" in sos
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos (Show other bugs)
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:
Last Closed: 2009-01-20 16:41:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0171 normal SHIPPED_LIVE sosreport bug fix and enhancement update 2009-01-20 11:05:38 EST

  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:
Actual results:

Expected results:

Additional info:


--- 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")
             # 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.


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