Bug 626752
| Summary: | guest virtualization type detection during registration is flawed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Milan Zázrivec <mzazrivec> |
| Component: | rhn-client-tools | Assignee: | Milan Zázrivec <mzazrivec> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Minar <mminar> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.0 | CC: | cperry, jhutar, mkoci, mminar, syeghiay |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rhn-client-tools-1.0.0-45.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:05:01 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: | |||
spacewalk.git master: 2bfb9b5eb73289b2af0e7a843c97677330ff95f1 satellite.git CLIENT-RHEL-6: 248b9672cac4c2ea0d7ddbc55aa04a2b2d9c4967 Verified in rhn-client-tools-1.0.0-48.el6.noarch 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-2011-0565.html |
Description of problem: From rhnreg.py, get_virt_info(): 1. Check /proc/xen/xsd_port. If exists, we know the system is a host; exit. 2. Check /sys/hypervisor/uuid. If exists and is non-zero, we know the system is a para-virt guest; exit. 3. Check SMBIOS. If vendor='Xen' and UUID is non-zero, we know the system is a fully-virt guest; exit. 4. If non of the above checks worked; we know we have a non-xen-enabled system; exit. The above logic works fine for RHEL-5 guests (Xen FV / PV, KVM), but will not work 100% correctly for RHEL-6 FV Xen guests. RHEL-6 fully virtualized Xen guests do have /sys/hypervisor/uuid file, which the above logic will incorrectly recognize as paravirtualized guests. The simple fix for this problem would be to flip steps 2 and 3. Version-Release number of selected component (if applicable): rhn-client-tools-1.0.0-36.el6.noarch How reproducible: Always Steps to Reproduce: 1. Install RHEL-6 FV Xen guest (on a RHEL-5 Xen host) 2. Register the system to RHN / RHN Satellite 3. Note the virtualization type Actual results: Paravirtualized guest Expected results: Fully virtualized guest Additional info: N/A