<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>FW: [one-users] cann't connect kvm hypervisor</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hello,<BR>
&nbsp;I'm new of Opennebula. I have installed KVM im my remote node. But when I<BR>
&nbsp;want to check the KVM in the node, I can't connect to the hypervisor.<BR>
<BR>
&nbsp;--------------------------------------------------------------------<BR>
&nbsp;root@forest:/var/run/libvirt# virsh -c qemu:///localhost/system list<BR>
&nbsp;Connecting to uri: qemu:///system<BR>
&nbsp;error: failed to connect to the hypervisor<BR>
&nbsp;--------------------------------------------------------------------<BR>
<BR>
&nbsp;Can somebody tell me why virsh doesn't work? And how I can fix it?<BR>
<BR>
&nbsp;Any helps would be very appreciated?<BR>
<BR>
&nbsp;Thanks<BR>
<BR>
&nbsp;Zhentao<BR>
<BR>
-----Original Message-----<BR>
From: tinova79@gmail.com on behalf of Tino Vazquez<BR>
Sent: Mon 10/5/2009 4:33 PM<BR>
To: Shi Jin<BR>
Cc: Liu, Zhentao; users@lists.opennebula.org<BR>
Subject: Re: [one-users] cann't connect kvm hypervisor<BR>
<BR>
Hi there,<BR>
<BR>
I would suggest forwarding this question to the libvirt mailing list,<BR>
other people there may know the best procedure to deal with this.<BR>
<BR>
Regards,<BR>
<BR>
-Tino<BR>
<BR>
--<BR>
Constantino Vázquez, Grid Technology Engineer/Researcher:<BR>
<A HREF="http://www.dsa-research.org/tinova">http://www.dsa-research.org/tinova</A><BR>
DSA Research Group: <A HREF="http://dsa-research.org">http://dsa-research.org</A><BR>
Globus GridWay Metascheduler: <A HREF="http://www.GridWay.org">http://www.GridWay.org</A><BR>
OpenNebula Virtual Infrastructure Engine: <A HREF="http://www.OpenNebula.org">http://www.OpenNebula.org</A><BR>
<BR>
<BR>
<BR>
On Mon, Oct 5, 2009 at 4:30 PM, Shi Jin &lt;jinzishuai@gmail.com&gt; wrote:<BR>
&gt; I had similar problems earlier.<BR>
&gt; The only solution I found without rebooting the machine is to killall<BR>
&gt; kvm on the node.<BR>
&gt; I would also appreciate any suggestion to better handle this problem.<BR>
&gt; Thanks.<BR>
&gt;<BR>
&gt; Shi<BR>
&gt;<BR>
&gt; On Mon, Oct 5, 2009 at 5:56 AM, Liu, Zhentao<BR>
&gt; &lt;Zhentao.Liu@fokus.fraunhofer.de&gt; wrote:<BR>
&gt;&gt; Hi Tino<BR>
&gt;&gt;<BR>
&gt;&gt; I have checked that libvirtd deaemon is running. I have also restarted<BR>
&gt;&gt; libvirtd deaemon, but I can't still connect to kvm hypervisor.<BR>
&gt;&gt; -----------------------------------------------------------<BR>
&gt;&gt; root@forest:/var/run/libvirt# /etc/init.d/libvirt-bin start<BR>
&gt;&gt;  * Starting libvirt management daemon libvirtd                           [<BR>
&gt;&gt; OK ]<BR>
&gt;&gt; root@forest:/var/run/libvirt# virsh -c qemu:///system list<BR>
&gt;&gt;<BR>
&gt;&gt; Connecting to uri: qemu:///system<BR>
&gt;&gt; error: failed to connect to the hypervisor<BR>
&gt;&gt; -------------------------------------------------------------<BR>
&gt;&gt;<BR>
&gt;&gt; other ideas?<BR>
&gt;&gt;<BR>
&gt;&gt; Thanks<BR>
&gt;&gt;<BR>
&gt;&gt; Zhentao<BR>
&gt;&gt;<BR>
&gt;&gt; -----Original Message-----<BR>
&gt;&gt; From: tinova79@gmail.com on behalf of Tino Vazquez<BR>
&gt;&gt; Sent: Mon 10/5/2009 1:43 PM<BR>
&gt;&gt; To: Liu, Zhentao<BR>
&gt;&gt; Cc: users@lists.opennebula.org<BR>
&gt;&gt; Subject: Re: [one-users] cann't connect kvm hypervisor<BR>
&gt;&gt;<BR>
&gt;&gt; Hi Zhentao,<BR>
&gt;&gt;<BR>
&gt;&gt; Can you check that the libvirtd deaemon is running in the remote node?<BR>
&gt;&gt;<BR>
&gt;&gt; Regards,<BR>
&gt;&gt;<BR>
&gt;&gt; -Tino<BR>
&gt;&gt;<BR>
&gt;&gt; --<BR>
&gt;&gt; Constantino Vázquez, Grid Technology Engineer/Researcher:<BR>
&gt;&gt; <A HREF="http://www.dsa-research.org/tinova">http://www.dsa-research.org/tinova</A><BR>
&gt;&gt; DSA Research Group: <A HREF="http://dsa-research.org">http://dsa-research.org</A><BR>
&gt;&gt; Globus GridWay Metascheduler: <A HREF="http://www.GridWay.org">http://www.GridWay.org</A><BR>
&gt;&gt; OpenNebula Virtual Infrastructure Engine: <A HREF="http://www.OpenNebula.org">http://www.OpenNebula.org</A><BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; On Mon, Oct 5, 2009 at 1:30 PM, Liu, Zhentao<BR>
&gt;&gt; &lt;Zhentao.Liu@fokus.fraunhofer.de&gt; wrote:<BR>
&gt;&gt;&gt; Hello,<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; I'm new of Opennebula. I have installed KVM im my remote node. But when I<BR>
&gt;&gt;&gt; want to check the KVM in the node, I can't connect to the hypervisor.<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; --------------------------------------------------------------------<BR>
&gt;&gt;&gt; root@forest:/var/run/libvirt# virsh -c qemu:///localhost/system list<BR>
&gt;&gt;&gt; Connecting to uri: qemu:///system<BR>
&gt;&gt;&gt; error: failed to connect to the hypervisor<BR>
&gt;&gt;&gt; --------------------------------------------------------------------<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Can somebody tell me why virsh doesn't work? And how I can fix it?<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Any helps would be very appreciated?<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Thanks<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; Zhentao<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt; _______________________________________________<BR>
&gt;&gt;&gt; Users mailing list<BR>
&gt;&gt;&gt; Users@lists.opennebula.org<BR>
&gt;&gt;&gt; <A HREF="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR>
&gt;&gt;&gt;<BR>
&gt;&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; _______________________________________________<BR>
&gt;&gt; Users mailing list<BR>
&gt;&gt; Users@lists.opennebula.org<BR>
&gt;&gt; <A HREF="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; --<BR>
&gt; Shi Jin, Ph.D.<BR>
&gt;<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>