Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1383561

Summary: Wrong virt-who configuration if it's installed on Satellite server
Product: Red Hat Satellite Reporter: Alexey Masolov <amasolov>
Component: Docs Virtual Instances GuideAssignee: Russell Dickenson <rdickens>
Status: CLOSED CURRENTRELEASE QA Contact: Brandi Munilla <bmcelvee>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: rdickens
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 04:28:00 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:

Description Alexey Masolov 2016-10-11 04:39:32 UTC
Document URL: 
https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/virtual-instances-guide/chapter-5-configuration-and-services

Section Number and Name: 
5.3. CONFIGURING VIRT-WHO TO CONNECT TO RED HAT ENTERPRISE VIRTUALIZATION HYPERVISOR (step 5)
5.4. CONFIGURING VIRT-WHO TO CONNECT TO A RED HAT ENTERPRISE LINUX HYPERVISOR (step 3)
5.5. CONFIGURING VIRT-WHO TO CONNECT TO VMWARE VCENTER (step 4) 
5.6. CONFIGURING VIRT-WHO TO CONNECT TO MICROSOFT HYPER-V (step 9)

Describe the issue: 
===
Edit the configuration file /etc/rhsm/rhsm.conf, changing the example values with those specific to your environment.

rhsm_hostname=satellite.example.com 
rhsm_username=virt_who-admin                
rhsm_encrypted_password=bd257f93d@482B76e6390cc54aec1a4d  
rhsm_prefix=/rhsm  
===
Configuration should be made in /etc/virt-who.d/ hypervisor configuration file instead of /etc/rhsm/rhsm.conf 

Suggestions for improvement: Change the configuration file name

Additional information:

Comment 1 Russell Dickenson 2016-11-03 04:28:00 UTC
Alexey,

Thanks for reporting this issue. The same issue was reported in another BZ ticket by Kathryn Dixon. I fixed it while working on that BZ ticket, and the corrected instructions are now available in the published Virtual Instances Guide. For example: the RHEV instructions are available at [1]. The same correction has been made for all hypervisors.


[1] https://access.redhat.com/documentation/en/red-hat-satellite/6.2/single/virtual-instances-guide/#configuring_virt_who_to_connect_to_red_hat_enterprise_virtualization_hypervisor