Bug 651856

Summary: kvm guests consumes regular ent. after virt. platform entitl. removal from its host
Product: Red Hat Satellite 5 Reporter: Jiri Kastner <jkastner>
Component: VirtualizationAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 540CC: cperry, mminar
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: 2011-01-07 15:04:30 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:
Bug Depends On:    
Bug Blocks: 646488    

Description Jiri Kastner 2010-11-10 13:36:11 UTC
Description of problem:
when you remove virtualization{, platform} entitlement from rhel6 kvm host, guest appears in list of virtual guests consuming regular entitlements. but new kvm guests consumes flex guests entitlement

Version-Release number of selected component (if applicable):
satellite 5.4

How reproducible:


Steps to Reproduce:
1. install satellite 5.4 with some flex guest entitlement
2. register rhel6 kvm host and enable virt. platform. entit.
3. create rhel5 kvm guest and register it to same satellite
4. remove virt. platform entitlement from rhel6 kvm host
5. create another rhel5 kvm guest and register to same satellite and organization as host and first guest
6. on satellite go to 'overview'->'subscription management'->'virtualization entitlements' and check results
  
Actual results:
first kvm guests is on tab 'guests consuming regular entitlements'
second is on tab 'flex guest entitlement consumers'


Expected results:
both are on tab 'flex guest entitlement consumers'

Additional info:

Comment 3 Justin Sherrill 2011-01-05 21:29:00 UTC
Jiri,

I am not able to reproduce this on test11-64, nor on my own personal test server.

I did these steps:

1.  register virt host
2.  Give it virt platform
3.  register rhel 5 guest
4.  Verified no entitlement consumption for rhel-server
5.  removed virt platform entitelment
6.  verified flex guest consumption for rhel-server
7.  register another rhel 5 server

Results:

2 flex guest entitlements consumed for rhel-server as expected.  0 systems listed under 'guests consuming regular entitlements', 2 system listed under flex guest entitlement consumers'