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 1509596 - Failed to run virt-who for Remote Libvirt mode with libvirtError - "Connection refused"
Summary: Failed to run virt-who for Remote Libvirt mode with libvirtError - "Connectio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-who
Version: 7.5
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: rc
: ---
Assignee: Chris Snyder
QA Contact: Eko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-05 01:42 UTC by yuefliu
Modified: 2019-10-28 07:20 UTC (History)
5 users (show)

Fixed In Version: virt-who-0.21.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 16:21:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github virt-who virt-who pull 118 0 None closed 1509596: Use qemu+ssh transport if not provided (libvirt) 2020-12-29 10:11:22 UTC
Red Hat Product Errata RHEA-2018:0895 0 None None None 2018-04-10 16:22:08 UTC

Comment 2 Liushihui 2017-11-09 03:19:26 UTC
Run virt-who at remote_libvirt mode, register system to satellite6.2.12, it also can't send mapping info to satellite, but the error info is different from it against stage candlepin. please see as the following:

2017-11-09 01:12:49,362 [virtwho.env_cmdline DEBUG] MainProcess(1628):Thread-2 @virt.py:run:374 - Thread 'env/cmdline' started
2017-11-09 01:12:49,363 [virtwho.destination_-7426371236027194430 DEBUG] MainProcess(1628):Thread-3 @virt.py:run:374 - Thread 'destination_-7426371236027194430' started
2017-11-09 01:12:49,364 [virtwho.env_cmdline INFO] MainProcess(1628):Thread-2 @libvirtd.py:_connect:284 - Using libvirt url: qemu://root.129.77/system?no_tty=1
2017-11-09 01:12:49,365 [virtwho.env_cmdline ERROR] MainProcess(1628):Thread-2 @libvirtd.py:_connect:292 - Error in libvirt backend
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/virtwho/virt/libvirtd/libvirtd.py", line 290, in _connect
    v = libvirt.openReadOnly(url)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 291, in openReadOnly
    if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')
libvirtError: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
2017-11-09 01:12:49,367 [virtwho.env_cmdline ERROR] MainProcess(1628):Thread-2 @virt.py:run:383 - Thread 'env/cmdline' fails with error: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
2017-11-09 01:12:49,368 [virtwho.env_cmdline INFO] MainProcess(1628):Thread-2 @virt.py:_send_data:922 - Report for config "env/cmdline" gathered, placing in datastore
2017-11-09 01:12:49,372 [virtwho.env_cmdline INFO] MainProcess(1628):Thread-2 @virt.py:run:407 - Waiting 3600 seconds before performing action again 'env/cmdline'
2017-11-09 01:12:50,367 [virtwho.destination_-7426371236027194430 DEBUG] MainProcess(1628):Thread-3 @virt.py:_send_data:599 - ErrorReport received for source: env/cmdline

Comment 9 errata-xmlrpc 2018-04-10 16:21:32 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://access.redhat.com/errata/RHEA-2018:0895


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