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 1002485 - virt-who CLI should prompt friendly message when forgetting adding "--satellite" or "--sam"
Summary: virt-who CLI should prompt friendly message when forgetting adding "--satelli...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-who
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Radek Novacek
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-29 10:04 UTC by gaoshang
Modified: 2016-12-01 00:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-17 07:51:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description gaoshang 2013-08-29 10:04:51 UTC
Description of problem:
Since we added Satellite surpport to virt-who, virt-who command line changed respectively, we should prompt user who is customed with old command:
virt-who --esx --esx-owner=ACME_Corporation --esx-env=Library --esx-server=10.66.79.4 --esx-username=administrator --esx-password=qwer1234P --sam -i 5 -d

Version-Release number of selected component (if applicable):
# rpm -qa | grep virt-who
virt-who-0.8-8.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. Run following virt-who command line
virt-who --esx --esx-owner=ACME_Corporation --esx-env=Library --esx-server=10.66.79.4 --esx-username=administrator --esx-password=qwer1234P -i 3 -d

Actual results:
    [root@gg-rhel6 virt-who]#  virt-who --esx --esx-owner=ACME_Corporation --esx-env=env1 --esx-server=10.66.79.4 --esx-username=administrator --esx-password=qwer1234P -i 3 -d
    WARNING: Listening for events is not available in VDSM, ESX, RHEV-M or Hyper-V mode
    DEBUG: Virt-who is running in esx mode
    DEBUG: Starting infinite loop with 3 seconds interval
    ERROR: Error in communication with subscription manager, trying to recover:
    Traceback (most recent call last):
      File "/usr/share/virt-who/virt-who.py", line 207, in _send
        result = self.subscriptionManager.hypervisorCheckIn(self.options.owner, self.options.env, virtualGuests, type=self.options.virtType)
    AttributeError: 'NoneType' object has no attribute 'hypervisorCheckIn'
    ERROR: Unable to recover, retry in 3 seconds.
    ERROR: Error in communication with subscription manager, trying to recover:
    Traceback (most recent call last):
      File "/usr/share/virt-who/virt-who.py", line 207, in _send
        result = self.subscriptionManager.hypervisorCheckIn(self.options.owner, self.options.env, virtualGuests, type=self.options.virtType)
    AttributeError: 'NoneType' object has no attribute 'hypervisorCheckIn'


Expected results:
virt-who should prompt user to add "--satellite" or "--sam" parameter

Additional info:

Comment 1 Radek Novacek 2013-08-29 10:08:42 UTC
This has been fixed in virt-who-0.8-9. virt-who now assumes that user wants to report to SAM. This needs to be there for backward compatibility. User that will upgrade from previous versions of virt-who must not need to change something in the configuration file.

Comment 3 gaoshang 2013-08-30 04:08:31 UTC
This bug has been fixed in virt-who-0.8-9, SAM will be the default option if not specified "--satellite" or "--sam".

Comment 5 RHEL Program Management 2013-08-30 05:01:20 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 6 Radek Novacek 2014-01-17 07:51:24 UTC
This issue has been resolved by other fix before this bug was created, therefore it didn't get to the erratum. I'll close it now.


Note You need to log in before you can comment on or make changes to this bug.