Bug 233375
| Summary: | Make SOS flag the situation when running on a fully virtualized guest, but with a -xen kernel | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Chris Lalancette <clalance> | ||||||
| Component: | sos | Assignee: | Steve Conklin <sconklin> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 5.0 | CC: | bstein, eteo | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | RHBA-2007-0496 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2007-06-27 12:38:20 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Chris Lalancette
2007-03-21 21:50:22 UTC
In my opinion sosreport should only worry about gathering the information. This check should be performed later when analysing sosreport's results. What might be interesting is introduce this tool as part of the sosreport project, which takes a sosreport result's tree and parses it in a similar way as checksysreport does. I will speak with Pierre (checksysreport developer) if he has already done some work in this direction. -- Navid OK, great. Thanks for taking a look. Chris Lalancette Created attachment 152714 [details]
A quick patch to the "xen.py" module to check if running a -xen kernel on HVM guest
After talking with Steve Conklin, we decided this would be an easy thing to do,
and we can do it in sosreport. We might ALSO want to do it in checksysreport.
In any case, the attached patch applies on top of the current upstream SOS xen
plugin, and flags the situation when running a -xen (paravirtualized) kernel
INSIDE a fully virtualized guest. This is known to cause problems. Note that
the patch is currently untested; I'll test it out later today or tomorrow.
Created attachment 152818 [details]
An updated patch for the xen plugin that reports a PV kernel on HVM
Steve,
I've tested this updated patch on an HVM guest both with a normal kernel
(i.e. 2.6.18-8.el5) and with a "wrong" xen kernel (i.e. 2.6.18-8.el5xen). It
seems to do the right thing in both cases. The only difference between this
patch and the previous one is that it adds a newline to the ends of the lines.
I think this is now ready to be committed to SVN.
Chris Lalancette
The patch looks good. Agreed with Navid that sosreport should only worry about gathering information, but a warning for FV guest running a -xen kernel is useful. Eugene 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. http://rhn.redhat.com/errata/RHBA-2007-0496.html |