Bug 1187575
| Summary: | virt-who --satellite option is for sat5 not sat6 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Bryan Kearney <bkearney> |
| Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
| Status: | CLOSED ERRATA | QA Contact: | Li Bin Liu <liliu> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | bbuckingham, bkearney, daobrien, gxing, jherrman, katello-bugs, katello-qa-list, mmccune, mmello, mmurray, ovasik, rjerrido, sgao, shihliu, tomckay, xdmoon |
| Target Milestone: | rc | Keywords: | 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
This bug is resolved upstream and will be fixed by virt-who rebase (bug 1200374). Fixed in virt-who-0.14-1.el7. 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 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 |