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:

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