Bug 663361
| Summary: | RHEL5.5+ guests on RHEL6 host consuming physical RHN entitlements | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Sebastian Skracic <sskracic> |
| Component: | rhn-client-tools | Assignee: | Milan Zázrivec <mzazrivec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 5.5 | CC: | acarter, gasmith, psubrama |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-15 16:18:29 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: | |||
|
Description
Sebastian Skracic
2010-12-15 14:48:51 UTC
The host RPM manifest excerpt: [root@x3 rhn]# rpm -qa rhn\* | sort rhn-check-1.0.0-39.el6.noarch rhn-client-tools-1.0.0-39.el6.noarch rhnlib-2.5.22-9.el6.noarch rhnsd-4.9.3-2.el6.x86_64 rhn-setup-1.0.0-39.el6.noarch rhn-virtualization-common-5.4.14-1.el6sat.noarch rhn-virtualization-host-5.4.14-1.el6sat.noarch The guest: [root@bnw ~]# rpm -qa rhn\* | sort rhn-check-0.4.20-33.el5_5.4 rhn-client-tools-0.4.20-33.el5_5.4 rhnlib-2.5.22-3.el5_5.1 rhnsd-4.7.0-5.el5 rhn-setup-0.4.20-33.el5_5.4 rhn-setup-gnome-0.4.20-33.el5_5.4 The root problem is that get_virt_info() (in rhnreg.py) can not determine a UUID for this system. The client must be able to tell RHN that the system is a virtual guest in order for it to be able to consume either a Flex Guest or an inherited Virtualization entitlement. As clarification, I was talking about the guest in the comment above. 'dmidecode' output on RHEL6 host:
# dmidecode 2.10
SMBIOS 2.4 present.
10 structures occupying 306 bytes.
Table at 0x1FFFFEC0.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Seabios
Version: 0.5.1
Release Date: 01/01/2007
Address: 0xE8000
Runtime Size: 96 kB
ROM Size: 64 kB
Characteristics:
BIOS characteristics not supported
Targeted content distribution is supported
BIOS Revision: 1.0
Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: Red Hat
Product Name: KVM
Version: RHEL 6.0.0 PC
Serial Number: Not Specified
UUID: 2819FBB4-14C4-14AF-76B0-57E9DCBF2CFC
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Red Hat Enterprise Linux
Errr, the above is executed on the *guest* of the RHEL6 host. 'dmidecode' output on the RHEL5.5 guest on the RHEL5.5 KVM host:
# dmidecode 2.10
SMBIOS 2.4 present.
11 structures occupying 331 bytes.
Table at 0x000FBDAF.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: QEMU
Version: QEMU
Release Date: 01/01/2007
Address: 0xE8000
Runtime Size: 96 kB
ROM Size: 64 kB
Characteristics:
BIOS characteristics not supported
Targeted content distribution is supported
BIOS Revision: 1.0
Handle 0x0100, DMI type 1, 27 bytes
System Information
Manufacturer: Red Hat
Product Name: KVM
Version: Not Specified
Serial Number: Not Specified
UUID: D52D32C9-F8FF-F8B5-0323-B23A0192D103
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Red Hat Enterprise Linux
It looks like I wrongly specified the UUID was missing. Actually it is the system.manufacturer. On the guest: # python Python 2.4.3 (#1, Nov 3 2010, 12:52:40) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import hardware >>> data = hardware.get_smbios() >>> data {'smbios.system.serial': 'Not Specified', 'smbios.system.product': 'KVM', 'smbios.system.family': 'Red Hat Enterprise Linux', 'smbios.bios.vendor': 'Seabios', 'smbios.system.manufacturer': '', 'smbios.system.skunumber': 'Not Specified', 'smbios.system.version': 'RHEL 6.0.0 PC', 'smbios.system.uuid': '2819fbb4-14c4-14af-76b0-57e9dcbf2cfc'} system.manufacturer is required to be "Red Hat", see https://bugzilla.redhat.com/show_bug.cgi?id=593317#c20 and https://engineering.redhat.com/trac/rhn-hosted/wiki/FloatingVirtEntitlements/ContainerSupport Also note comment 42 in the previous bug: https://bugzilla.redhat.com/show_bug.cgi?id=593317#c42 I do not believe that bug should be closedcurrentrelease. It is correct that bug #593317 is closed -- it's reported against RHEL-6, the problem described here is a problem in RHEL-5.5 rhn-client-tools. We're aware of the problem described here -- it is tracked in bug #624780 and will be fixed in RHEL-5.6 I'm closing this bug as a duplicate of bug #624780, reopen if you disagree. *** This bug has been marked as a duplicate of bug 624780 *** |