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 1523769

Summary: RFE import older configuration of VIrt-who
Product: Red Hat Satellite Reporter: Cory McKee <cmckee>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbuckingham, inecas, kdixon, mbacovsk
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: 2018-01-10 20:33:35 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 Cory McKee 2017-12-08 17:02:50 UTC
Description of problem:
With older configuration 

Version-Release number of selected component (if applicable):
virt-who-0.20.4-1.el7

How reproducible:
move virt-who config from a server running virt-who-0.19-7.el7_4

older version configuration
[vcenter]
type=esx
owner=satellite
env=Library
server=vcenter.example.com
username=root
encrypted_password=12s3sdf3rfegfggdfgfd

newer configuration
[virt-who-config-1]
type=esx
hypervisor_id=hostname
owner=Default_Organization
env=Library
server=vcenter.example.com
username=root
encrypted_password=03388fc9eac3155ee961746de124e1d1
rhsm_hostname=sat1.localdomain
rhsm_username=virt_who_reporter_1
rhsm_encrypted_password=0d7e390d8224fd32c18f307237162b99885891b1911443569ad9906754d74711
rhsm_prefix=/rhsm

Steps to Reproduce:
1.move virt-who config from a server running virt-who-0.19-7.el7_4
2. run virt-who -o

3.

Actual results:
2017-12-08 11:29:56,277 INFO: Using configuration "vcenter" ("esx" mode)
2017-12-08 11:29:56,278 INFO: Using reporter_id='sat1-b5a1839d64c4457b95bd4b9e7f6ec02e'
2017-12-08 11:29:56,598 INFO: Report for config "vcenter" gathered, placing in datastore
2017-12-08 11:29:57,295 INFO: Hosts-to-guests mapping for config "vcenter": 1 hypervisors and 4 guests found
2017-12-08 11:29:58,487 ERROR: Error during hypervisor checkin: 
ManagerError: Communication with subscription manager failed with code 505: Network error code: 505


Expected results:


Additional info:

Comment 1 Kathryn Dixon 2017-12-15 19:52:57 UTC
(In reply to Cory McKee from comment #0)
> Description of problem:
> With older configuration 
> 
> Version-Release number of selected component (if applicable):
> virt-who-0.20.4-1.el7
> 
> How reproducible:
> move virt-who config from a server running virt-who-0.19-7.el7_4
> 
> older version configuration
> [vcenter]
> type=esx
> owner=satellite
> env=Library
> server=vcenter.example.com
> username=root
> encrypted_password=12s3sdf3rfegfggdfgfd
> 
> newer configuration
> [virt-who-config-1]
> type=esx
> hypervisor_id=hostname
> owner=Default_Organization
> env=Library
> server=vcenter.example.com
> username=root
> encrypted_password=03388fc9eac3155ee961746de124e1d1
> rhsm_hostname=sat1.localdomain
> rhsm_username=virt_who_reporter_1
> rhsm_encrypted_password=0d7e390d8224fd32c18f307237162b99885891b1911443569ad99
> 06754d74711
> rhsm_prefix=/rhsm
> 
> Steps to Reproduce:
> 1.move virt-who config from a server running virt-who-0.19-7.el7_4
> 2. run virt-who -o
> 
> 3.
> 
> Actual results:
> 2017-12-08 11:29:56,277 INFO: Using configuration "vcenter" ("esx" mode)
> 2017-12-08 11:29:56,278 INFO: Using
> reporter_id='sat1-b5a1839d64c4457b95bd4b9e7f6ec02e'
> 2017-12-08 11:29:56,598 INFO: Report for config "vcenter" gathered, placing
> in datastore
> 2017-12-08 11:29:57,295 INFO: Hosts-to-guests mapping for config "vcenter":
> 1 hypervisors and 4 guests found
> 2017-12-08 11:29:58,487 ERROR: Error during hypervisor checkin: 
> ManagerError: Communication with subscription manager failed with code 505:
> Network error code: 505
> 
> 
> Expected results:
> 
> 
> Additional info:

I don't think this one makes much sense. The older version config still works today. The newer config requires that rhsm lines because that is what allows us to run virt-who on a NON self registered Satellite. You can still run the old version config on a client pointing to the satellite or a self registered satellite.

+1 to close won't fix