Bug 1077123

Summary: OpenStack guest provides incorrect smbios information when registering to Red Hat Satellite
Product: Red Hat OpenStack Reporter: Jiří Mikulka <jmikulka>
Component: openstack-novaAssignee: Solly Ross <sross>
Status: CLOSED DUPLICATE QA Contact: Ami Jeain <ajeain>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: cduryee, jmikulka, ndipanov, sgao, sgordon, vpopovic, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-28 18:06:18 UTC Type: Bug
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: 1045083, 1075225    

Description Jiří Mikulka 2014-03-17 09:55:26 UTC
Description of problem:
OpenStack guests were incorrectly recognized as physical machines (therefore consumed classical entitlement instead of flex entitlement) because of wrong smbios information provided during the registration.

The current situation is a temporary solution when guests claim that the vendor is "Red Hat" and the product is "RHEV Hypervisor", which leads to correct assignment of flex entitlement, but the virtualization type is recognized incorrectly.

The information provided by OpenStack guests to Satellite during the registration should be (as discussed in bug 1045083#c13) the vendor/manufacturer = "Red Hat" and the product = "OpenStack Compute".

Version-Release number of selected component (if applicable):
openstack-nova-common-2013.2.2-2.el6ost.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1. create an OpenStack guest
2. register the guest to Red Hat Sallite 5.5/5.6
3. check entitlements and virtualization type in Hardware information

Actual results:
OS guests are recognized either as physical machines or RHEV guests

Expected results:
OS guest should be recognized as "OpenStack Compute" virt-guest

Additional info:

Comment 2 Solly Ross 2014-04-08 21:17:45 UTC
Based on the version that you are using, this actually looks like a RHOS 4 bug.
I believe it's a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1061738.  Is this correct?

Comment 3 Chris Duryee 2014-05-22 18:45:24 UTC
On RHOS5, guests currently show up with Manufacturer of "Fedora Project" instead of "Red Hat". Can this be altered? It causes guests to register as physical hosts instead of virt.

example from qemu-kvm command:

-smbios type=1,manufacturer=Fedora Project,product=OpenStack Nova,version=2014.1-2.el7ost

Comment 4 Stephen Gordon 2014-05-22 19:38:30 UTC
(In reply to Chris Duryee from comment #3)
> On RHOS5, guests currently show up with Manufacturer of "Fedora Project"
> instead of "Red Hat". Can this be altered? It causes guests to register as
> physical hosts instead of virt.
> 
> example from qemu-kvm command:
> 
> -smbios type=1,manufacturer=Fedora Project,product=OpenStack
> Nova,version=2014.1-2.el7ost

That should really be reported as a separate bug, it doesn't have anything to do with this one.

Comment 5 Stephen Gordon 2014-05-22 19:44:55 UTC
(In reply to Stephen Gordon from comment #4)
> (In reply to Chris Duryee from comment #3)
> > On RHOS5, guests currently show up with Manufacturer of "Fedora Project"
> > instead of "Red Hat". Can this be altered? It causes guests to register as
> > physical hosts instead of virt.
> > 
> > example from qemu-kvm command:
> > 
> > -smbios type=1,manufacturer=Fedora Project,product=OpenStack
> > Nova,version=2014.1-2.el7ost
> 
> That should really be reported as a separate bug, it doesn't have anything
> to do with this one.

Filed as Bug # 1100439

Comment 6 Solly Ross 2014-05-28 18:06:18 UTC

*** This bug has been marked as a duplicate of bug 1061738 ***