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 760436

Summary: virsh connect fails with remote machine which has different libvirt version
Product: Red Hat Enterprise Linux 6 Reporter: Min Zhan <mzhan>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: acathrow, dallan, jdenemar, mzhan, rwu, veillard, whuang, zhpeng
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.9.9-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 06:37:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 3 Jiri Denemark 2011-12-06 08:47:41 UTC
This is already fixed upstream by v0.9.8-rc2-4-g8fcee13:

commit 8fcee135e816a59bea96768feb15e6f32db328ef
Author: Guido Günther <agx>
Date:   Sun Dec 4 15:26:23 2011 +0100

    remote_driver: don't fail if keepalive check fails
    
    Otherwise connections to older libvirt abort with:
    
    $ virsh -c qemu+ssh://host.example.com/system list
    error: invalid connection pointer in virDrvSupportsFeature
    error: failed to connect to the hypervisor
    
    Tested against 0.8.3 and 0.9.8-rc2.

Comment 4 Daniel Veillard 2011-12-06 08:49:18 UTC
Confirmed, that commit fixes it for me too !

Daniel

Comment 5 zhpeng 2011-12-13 08:35:22 UTC
I tested with libvirt-0.9.8-1.el6.x86_64 and passed.

Comment 7 Huang Wenlong 2012-01-10 02:37:08 UTC
Verify this bug with 
libvirt-0.9.9-1.el6.x86_64

Client : libvirt-0.9.9-1.el6.x86_64

Host: libvirt-0.9.4-23.el6_2.4.x86_64

Client :

## virsh -c qemu+ssh://10.66.85.216/system list 
The authenticity of host '10.66.85.216 (10.66.85.216)' can't be established.
RSA key fingerprint is 89:75:2b:2e:61:75:2c:dc:c3:8f:67:52:9f:b4:7f:67.
Are you sure you want to continue connecting (yes/no)? yes
root.85.216's password: 
 Id Name                 State
----------------------------------
  3 mig                  running

Comment 9 errata-xmlrpc 2012-06-20 06:37: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.

http://rhn.redhat.com/errata/RHSA-2012-0748.html