Bug 783422

Summary: Guest should loose virtual pool entitlement with host unregister.
Product: Red Hat Enterprise Linux 5 Reporter: spandey
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED CURRENTRELEASE QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: kbanerje
Target Milestone: rcKeywords: QA-Closed
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-09 17:45:11 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: 771748    
Attachments:
Description Flags
available_list_host_registered
none
available_list_host_unregistered none

Description spandey 2012-01-20 11:17:57 UTC
Description of problem:


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


How reproducible:
4/4

Prerequisites : 
Rehl5.8 server snapshot 4 

Steps to repro :

Register host and guest to candlepin.
Subscribe virtual pool entitlement on host . 
Unregister host from candlepin.

Expected Result : 
At step 3 “guest should loose its virtual pool entitlement”

Actual Result : 
After step 3 
virtual pool is available in subscription list to subscribe for guest  , 
Got one more virtual subscription to subscribe in available list after host unregister .

Attached  
available list with host register : t6 
available list with host unregistered : t7

Comment 1 spandey 2012-01-20 11:21:11 UTC
Created attachment 556504 [details]
available_list_host_registered

Comment 2 spandey 2012-01-20 11:21:50 UTC
Created attachment 556505 [details]
available_list_host_unregistered

Comment 3 William Poteat 2012-06-15 18:44:50 UTC
This test is only valid in an on-premise scenario. The candlepin parameter 'candlepin.standalone' must be set to true.

Comment 4 spandey 2012-06-20 09:23:19 UTC
Verified using following rpm 
subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-gui-1.0.4-1.git.0.5943ee7.el5
subscription-manager-migration-1.0.4-1.git.0.5943ee7.el5
subscription-manager-firstboot-1.0.4-1.git.0.5943ee7.el5
subscription-manager-1.0.4-1.git.0.5943ee7.el5


working fine resolving defect as verified

Comment 5 Bryan Kearney 2013-01-09 17:45:11 UTC
Batch change of verified bugs which must have missed making the errata.