Bug 1353697

Summary: [RFE] virt-who should register automatically all hypervisor hosts in a cluster if there are RHEL VM inside
Product: Red Hat Satellite Reporter: Andrea Perotti <aperotti>
Component: RegistrationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.9CC: bbuckingham, b.j.smith, bkearney, daniele
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-08 15:18:04 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: 1353215    

Description Andrea Perotti 2016-07-07 18:22:33 UTC
1. Proposed title of this feature request
Assign automatically subscription to all hypervisor of a cluster if RHEL guests are present in the cluster.

3. What is the nature and description of the request? 
This case is linked to #1307036
We need virt-who to guess if there are RHEL guest into vmware cluster.
If there is any ([1..N]) virt-who need to automatically attach subscription to all of the hosts present in the cluster.

4. Why does the customer need this? (List the business requirements here)
We need this in order to have a proper auto-attach of the subscriptions in vmware

5. How would the customer like to achieve this? (List the functional requirements here)
1) virt-who must login into vcenter(s)
2) virt-who must discover Red Hat guests, and take the relative clusters
3) virt-who must assign the subscriptions needed to the hosts of the cluster if at least one server is found
3b) virt-who must be able to handle more than one type of subscription because, in example, we may have subscription for RHEL + subscription for smart management in a separated subscription.

6. For each functional requirement listed in question 5, specify how Red Hat
and the customer can test to confirm the requirement is successfully implemented.
run virt-who, check if host clusters without RHEL guest get or not subscription.
run then subscription manager auto attach on the relative guests and check the output.

8. Does the customer have any specific timeline dependencies?
End of 2016

9. Is the sales team involved in this request and do they have any additional input?
no 

11. Would the customer be able to assist in testing this functionality if implemented?
Yes, sure

Comment 1 Bryan Kearney 2016-07-08 15:18:04 UTC

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