Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1187575

Summary: virt-who --satellite option is for sat5 not sat6
Product: Red Hat Enterprise Linux 7 Reporter: Bryan Kearney <bkearney>
Component: virt-whoAssignee: Radek Novacek <rnovacek>
Status: CLOSED ERRATA QA Contact: Li Bin Liu <liliu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: bbuckingham, bkearney, daobrien, gxing, jherrman, katello-bugs, katello-qa-list, mmccune, mmello, mmurray, ovasik, rjerrido, sgao, shihliu, tomckay, xdmoon
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-who-0.14-1.el7 Doc Type: Enhancement
Doc Text:
The virt-who utility uses the "--sam" option to collect information from Red Hat Satellite 6, but for Red Hat Satellite 5, it uses the "--satellite" option. To make the use of these options more intuitive, "--satellite" has been changed to "--satellite5" and "--satellite6" is an alias for "--sam".
Story Points: ---
Clone Of: 1118064 Environment:
Last Closed: 2015-11-19 11:56: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:
Bug Depends On:    
Bug Blocks: 1118064, 1133060, 1205796, 1247259, 1287901    

Comment 1 Radek Novacek 2015-01-30 13:02:14 UTC
I can add aliases - --satellite6 as alias for --sam and --satellite5 as alias for --satellite. That should make it clear for the users. What do you think?

Comment 3 Radek Novacek 2015-04-14 05:59:25 UTC
This bug is resolved upstream and will be fixed by virt-who rebase (bug 1200374).

Comment 4 Radek Novacek 2015-06-23 13:32:52 UTC
Fixed in virt-who-0.14-1.el7.

Comment 6 Liushihui 2015-07-21 04:04:23 UTC
Verify it on virt-who-0.14-1.el7.noarch as virt-who has added aliases - --satellite6 as alias for --sam and --satellite5 as alias for --satellite

Verified version:
virt-who-0.14-1.el7.noarch
subscription-manager-1.15.5-1.el7.x86_64
python-rhsm-1.15.3-1.el7.x86_64
Satellite5.7
Satellite6.1.0-20150716.

Verified process:
1.Register system to satellite5.7
2.Run virt-who in command line with --satellite5.
[root@hp-z220-05 product-default]# virt-who -d -i 5 --satellite5 --satellite-server=satellite57.July20.redhat.com --satellite-username=admin --satellite-password=redhat --rhevm --rhevm-owner=ACME_Corporation --rhevm-env=Library --rhevm-server=https://10.66.79.83:443 --rhevm-username=admin@internal --rhevm-password=redhat
2015-07-21 11:39:54,492 INFO: Using configuration "env/cmdline" ("rhevm" mode)
2015-07-21 11:39:54,492 DEBUG: Starting infinite loop with 5 seconds interval
2015-07-21 11:39:54,980 DEBUG: Initializing satellite connection to https://satellite57.July20.redhat.com/XMLRPC
2015-07-21 11:39:54,980 INFO: Initialized satellite connection
2015-07-21 11:39:54,981 INFO: Sending update in hosts-to-guests mapping: {'47a3d1de-7b73-4224-811f-011dc40de87f': []}
2015-07-21 11:39:54,981 DEBUG: Loading systemid for 47a3d1de-7b73-4224-811f-011dc40de87f
2015-07-21 11:39:54,981 DEBUG: Loading system id info from /var/lib/virt-who/hypervisor-systemid-47a3d1de-7b73-4224-811f-011dc40de87f

Result: virt-who can send host/guest mapping to satellite5.7

3. Register another system to satellite6.1
4. Run virt-who in command line with --satellite6
[root@hp-z220-06 ~]#  virt-who -d -i 5 --rhevm --rhevm-owner=ACME_Corporation --rhevm-env=Library --rhevm-server=https://10.66.79.83:443 --rhevm-username=admin@internal --rhevm-password=redhat --satellite6
2015-07-21 12:01:31,379 INFO: Using configuration "env/cmdline" ("rhevm" mode)
2015-07-21 12:01:31,379 DEBUG: Starting infinite loop with 5 seconds interval
2015-07-21 12:01:31,612 INFO: Sending update in hosts-to-guests mapping: {
    "47a3d1de-7b73-4224-811f-011dc40de87f": []
}
2015-07-21 12:01:31,612 DEBUG: Authenticating with certificate: /etc/pki/consumer/cert.pem

Result: virt-who can send host/guest mapping to satellite6.1

5. Check virt-who's help info, it also separate --satellite5 and --satellite6
  Subscription manager:
    Choose where the host/guest associations should be reported

    --sam               Report host/guest associations to the Subscription
                        Asset Manager [default]
    --satellite6        Report host/guest associations to the Satellite 6
                        server
    --satellite5        Report host/guest associations to the Satellite 5
                        server

Comment 7 errata-xmlrpc 2015-11-19 11:56:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2370.html