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 1311962 - virt-who complains "ERROR: Unable to send data: Unable to send host/guest assocaition to the satellite"
Summary: virt-who complains "ERROR: Unable to send data: Unable to send host/guest ass...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-who
Version: 6.9
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Chris Snyder
QA Contact: Eko
URL:
Whiteboard:
: 1325948 (view as bug list)
Depends On:
Blocks: 1355878
TreeView+ depends on / blocked
 
Reported: 2016-02-25 12:18 UTC by Jan Hutař
Modified: 2017-03-21 10:28 UTC (History)
4 users (show)

Fixed In Version: virt-who-0.18-1.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 10:28:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0675 0 normal SHIPPED_LIVE virt-who bug fix update 2017-03-21 12:35:57 UTC

Description Jan Hutař 2016-02-25 12:18:05 UTC
Description of problem:
virt-who errors out when you delete profiles it reported from Satellite 5.


Version-Release number of selected component (if applicable):
virt-who-0.12-10.el6.noarch


How reproducible:
always


Steps to Reproduce:
1. # rm -rf /var/lib/virt-who/*
2. # virt-who --one-shot --satellite5 --esx --satellite-server=<sat5>
     --satellite-username=<satuser> --satellite-password=<satpass>
     --esx-server=<vCenter> --esx-username=<esxuser> --esx-password=<esxpass>
3. Now delete profiles it has created on Sat5
4. # virt-who --one-shot --satellite5 --esx --satellite-server=<sat5>
     --satellite-username=<satuser> --satellite-password=<satpass>
     --esx-server=<vCenter> --esx-username=<esxuser> --esx-password=<esxpass>


Actual results:
2016-02-25 12:20:32,161 INFO: Using configuration "env/cmdline" ("esx" mode)
2016-02-25 12:20:43,125 INFO: Initialized satellite connection
2016-02-25 12:20:43,126 INFO: Sending update in hosts-to-guests mapping: {[...]}
2016-02-25 12:20:43,893 ERROR: Unable to send data: Unable to send host/guest assocaition to the satellite: <Fault -9: '\nError Message:\n    Please run rhn_register as root on this client\nError Class Code: 9\nError Class Info: Invalid System Credentials.\nExplanation: \n     An error has occurred while processing your request. If this problem\n     persists please consult the Red Hat Customer Portal Knowledge Base\n     landing page on common registration Error Class Codes at\n     https://access.redhat.com/solutions/17036 for a possible resolution.\n     If you choose to open a support case in the Red Hat Customer Portal,\n     please be sure to include details of what you were trying to do when\n     this error occurred and specifics on how to reproduce this problem.\n'>


Expected results:
Should work.


Additional info:
When you `rm -rf /var/lib/virt-who/*`, it works again.

When on this, there is also small typo in the error message above: assocaition -> association.

This was spotted when working on bug 1268799.

Comment 3 Radek Novacek 2016-05-03 15:40:43 UTC
The problem has been addressed upstream:

https://github.com/virt-who/virt-who/commit/94a35ea6e269faa3841de843928450287650c2cb

Comment 4 Radek Novacek 2016-05-05 06:50:57 UTC
*** Bug 1325948 has been marked as a duplicate of this bug. ***

Comment 5 Radek Novacek 2016-10-11 14:01:49 UTC
Fixed in virt-who-0.18-1.el6.

Comment 7 yuefliu 2017-02-08 08:22:13 UTC
Verified the bug on virt-who-0.18-3.el6.noarch with satellite5.7, do as the bug's steps, host/guest mapping info can be sent to sat server successfully after delete profiles by run 'rm -rf /var/lib/virt-who/*', no such bug reproduce, so verified it.

Comment 9 errata-xmlrpc 2017-03-21 10:28:51 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-2017-0675.html


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