Bug 202636 - xenconsoled should persistently log PV console output
Summary: xenconsoled should persistently log PV console output
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.1
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Daniel Berrange
QA Contact: Virtualization Bugs
Depends On: 244435
Blocks: 223911
TreeView+ depends on / blocked
Reported: 2006-08-15 16:51 UTC by Rik van Riel
Modified: 2018-10-19 23:01 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2007-11-07 17:05:53 UTC

Attachments (Terms of Use)
Patch against 3.1.0 to add logging of guest & hv (8.90 KB, patch)
2007-05-31 21:33 UTC, Daniel Berrange
no flags Details | Diff
Add persistent logging of guest consoles (10.60 KB, patch)
2007-06-08 15:13 UTC, Daniel Berrange
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2007:0635 normal SHIPPED_LIVE xen enhancement update 2007-10-30 15:49:02 UTC

Description Rik van Riel 2006-08-15 16:51:24 UTC
Description of problem:

In order to have kernel oopsen, panics and other console output logged, to help
with the analysis of why a virtual machine got into trouble, it would be
extremely useful if Xen could log the paravirt console output to a file.

The best way is probably to have one file per virtual machine, with automatic
log rotating like ttywatch does...

This is a big issue, and should probably be fixed before RHEL5 GA goes out.

Comment 2 RHEL Product and Program Management 2007-03-26 21:03:25 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 3 Daniel Berrange 2007-05-31 21:33:56 UTC
Created attachment 155846 [details]
Patch against 3.1.0 to add logging of guest & hv

NB. this patch will require some small work to backport to xen 3.1.0. We will
also need to play with initscripts to provide a way to start the xenconsoled
with logging arguments on its command line.

Comment 4 Daniel Berrange 2007-06-05 18:28:29 UTC
Patch is now upstream


Comment 5 Daniel Berrange 2007-06-08 15:13:28 UTC
Created attachment 156582 [details]
Add persistent logging of guest consoles

Comment 7 Daniel Berrange 2007-06-16 00:28:55 UTC
Build xen-3.0.3-29.el5 built into dist-5E-qu-candidate now has support for
persistent logging of guest consoles. It is not enabled by default. To test try
the following

 1. Edit /etc/sysconfig/xend and XENCONSOLED_LOG_GUESTS=yes
 2. Reboot
 3. Start a guest
 4. Look at /var/log/xen/console/guest-[name].log 

The guest-[name].log file should contain all data you'd otherwise see on 'virsh
console [name]'. The data should be logged even if you are connected via the
serial console.

Comment 9 Red Hat Bugzilla 2007-07-25 00:28:13 UTC
change QA contact

Comment 11 errata-xmlrpc 2007-11-07 17:05:53 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 the 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.