Bug 1383007

Summary: duplication of hypervisor content host and virtual guest consuming physical licences
Product: Red Hat Satellite Reporter: ASHISH ADHAU <ashish.adhau>
Component: Subscription ManagementAssignee: Eric Helms <ehelms>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.9CC: bbuckingham, jcallaha, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-01 13:48:57 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:

Description ASHISH ADHAU 2016-10-09 04:40:26 UTC
Description of problem:
Virtual guest are consuming physical licences instead of Virtual datacenter license.
It has been observed sometimes virtual guest content host shows ESX hypervisor name and sometime shows some long number 3305-XXXX-XXXXX-XXXX... which seems to be a duplicate entry.
 
Version-Release number of selected component (if applicable):
6.1.9

How reproducible:
Once you observed the virtual guest is switching between ESX hypervisor name and long name (assuming duplicate entry)
Below are the steps to reproduce

Steps to Reproduce:
1. install virt-who on Satellite server
2. configure /etc/sysconfig/virt-who and /etc/virt-who.d/somehypervisor.conf
3. start/restart virt-who service on satellite server
5. Register the host with the subscription manager command
6. Attach poolid of available virtual Datacenter.
7. After some time run subscription-manager refresh, It will delete the local    certificate,
8. subscription-manager list --consumed will show it is consuming physical licence instead of 

Actual results:
virt-who will auto-detect a content host, and would auto-detect type as hypervisor, and name it as <hostname> and consume one license.with the hostname, duplicate entry is found and consuming virtual datacenter licence (Burning two virtual datacenter licenses)

Virtual guest are consuming physical licences.

Expected results:
Virt-who should auto detect the duplication of hypervisor and virtual guest should be consuming virtual datacenter licenses instead of physical one. 


Additional info:

Comment 2 jcallaha 2016-10-11 17:17:22 UTC
This issue may not be present in 6.2 since virt-who doesn't automatically attach subscriptions to hypervisors.

Comment 5 Brad Buckingham 2017-06-01 13:48:57 UTC
Thank you for your interest in Satellite 6. Based on triage discussion, it has been determined that this is not a bug; therefore, it is being closed.  If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.