Bug 457880

Summary: Include output of "xm list" and "xm list --long" in sos
Product: Red Hat Enterprise Linux 5 Reporter: Sadique Puthen <sputhenp>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: urgent    
Version: 5.4CC: agk, azelinka, bmr, dmair
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:41:49 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: 467073    

Description Sadique Puthen 2008-08-05 06:50:04 UTC
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 21:41:49 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-2009-0171.html