<tt><font size=2>> From: "Daniel P. Berrange" <berrange@redhat.com></font></tt>
<br><tt><font size=2>> To: Ido Levy/Haifa/IBM@IBMIL, </font></tt>
<br><tt><font size=2>> Cc: libvir-list@redhat.com</font></tt>
<br><tt><font size=2>> Date: 23/11/2012 12:04 PM</font></tt>
<br><tt><font size=2>> Subject: Re: [libvirt] Remote connection to KVM
hypervisor failed <br>
> using libvirt 0.10.2</font></tt>
<br><tt><font size=2>> <br>
> On Fri, Nov 23, 2012 at 11:13:58AM +0200, Ido Levy wrote:<br>
> > > From: "Daniel P. Berrange" <berrange@redhat.com><br>
> > > To: Ido Levy/Haifa/IBM@IBMIL, <br>
> > > Cc: libvir-list@redhat.com<br>
> > > Date: 23/11/2012 10:59 AM<br>
> > > Subject: Re: [libvirt] Remote connection to KVM hypervisor
failed <br>
> > > using libvirt 0.10.2<br>
> > > <br>
> > > On Fri, Nov 23, 2012 at 07:43:12AM +0200, Ido Levy wrote:<br>
> > > > Hello,<br>
> > > > <br>
> > > > I compiled libvirt 0.10.2 from source providing extra
parameters to <br>
> > the <br>
> > > > configure procedure to support phyp and hyper-v driver
support, and <br>
> > python <br>
> > > > binding.<br>
> > > > When running virsh from the tools directory (libvirt-0.10.2/tools)
and <br>
> > <br>
> > > > trying to connect to remote KVM hypervisor using connect
<br>
> > > > qemu+ssh://user@hostname/system<br>
> > > > I got the following error<br>
> > > > error: Failed to connect to the hypervisor<br>
> > > > error: End of file while reading data: : Input/output
error<br>
> > > > <br>
> > > > The same scenario working without any issue using virsh
tool that is <br>
> > > > shipped with RHEL distribution.<br>
> > > > <br>
> > > > Any advise how can I figure out how to resolve this.<br>
> > > <br>
> > > What are the full args you passed to 'configure' ?<br>
> > > <br>
> > > Daniel<br>
> > <br>
> >  ./configure --with-python --with-phyp --with-hyperv<br>
> <br>
> Ok, that's the problem. If you want your build to be able to connect<br>
> to the RPM based build, you need to make it use the same paths. For<br>
> this you need to pass   <br>
> <br>
>    ./configure --with-python --with-phyp --with-hyperv \<br>
>        --prefix=/usr --sysconfdir=/etc --localstatedir=/var<br>
</font></tt>
<br>
<br><tt><font size=2>Thanks ! it solved the problem of qemu+ssh remote
connection.</font></tt>
<br><tt><font size=2>I still get errors while trying to connect to HMC
and Hyper-v</font></tt>
<br>
<br><tt><font size=2>virsh # connect hyperv://hyperv-server/system</font></tt>
<br><tt><font size=2>Enter username for hyperv-server [administrator]:
domain\user</font></tt>
<br><tt><font size=2>Enter domain\user password for hyperv-server:</font></tt>
<br><tt><font size=2>2012-11-23 09:24:49.452+0000: 26342: error : hypervDebugHandler:1443
: openwsman error: NULL response</font></tt>
<br><tt><font size=2>error: Failed to connect to the hypervisor</font></tt>
<br><tt><font size=2>error: internal error Transport error during enumeration:
Could not connect (7)</font></tt>
<br>
<br>
<br><tt><font size=2>virsh # connect phyp://user@hmc/system</font></tt>
<br><tt><font size=2>Enter user's password for hmc:</font></tt>
<br><tt><font size=2>error: Failed to connect to the hypervisor</font></tt>
<br><tt><font size=2>error: An error occurred, but the cause is unknown</font></tt>
<br>
<br>
<br><tt><font size=2>I would appreciate your advise, I didn't find any
logs I can look at.</font></tt>
<br>
<br><tt><font size=2>Thanks,</font></tt>
<br>
<br><tt><font size=2>Ido</font></tt>
<br>
<br>