<!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>cann't connect kvm hypervisor</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Hello,<BR>
I'm new of Opennebula. I have installed KVM im my remote node. But when I<BR>
want to check the KVM in the node, I can't connect to the hypervisor.<BR>
<BR>
--------------------------------------------------------------------<BR>
root@forest:/var/run/libvirt# virsh -c qemu:///localhost/system list<BR>
Connecting to uri: qemu:///system<BR>
error: failed to connect to the hypervisor<BR>
--------------------------------------------------------------------<BR>
<BR>
Can somebody tell me why virsh doesn't work? And how I can fix it?<BR>
<BR>
I think that it's maybe the problem of libvirt. <BR>
<BR>
Any helps would be very appreciated?<BR>
<BR>
Thanks<BR>
<BR>
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 <jinzishuai@gmail.com> wrote:<BR>
> I had similar problems earlier.<BR>
> The only solution I found without rebooting the machine is to killall<BR>
> kvm on the node.<BR>
> I would also appreciate any suggestion to better handle this problem.<BR>
> Thanks.<BR>
><BR>
> Shi<BR>
><BR>
> On Mon, Oct 5, 2009 at 5:56 AM, Liu, Zhentao<BR>
> <Zhentao.Liu@fokus.fraunhofer.de> wrote:<BR>
>> Hi Tino<BR>
>><BR>
>> I have checked that libvirtd deaemon is running. I have also restarted<BR>
>> libvirtd deaemon, but I can't still connect to kvm hypervisor.<BR>
>> -----------------------------------------------------------<BR>
>> root@forest:/var/run/libvirt# /etc/init.d/libvirt-bin start<BR>
>> * Starting libvirt management daemon libvirtd [<BR>
>> OK ]<BR>
>> root@forest:/var/run/libvirt# virsh -c qemu:///system list<BR>
>><BR>
>> Connecting to uri: qemu:///system<BR>
>> error: failed to connect to the hypervisor<BR>
>> -------------------------------------------------------------<BR>
>><BR>
>> other ideas?<BR>
>><BR>
>> Thanks<BR>
>><BR>
>> Zhentao<BR>
>><BR>
>> -----Original Message-----<BR>
>> From: tinova79@gmail.com on behalf of Tino Vazquez<BR>
>> Sent: Mon 10/5/2009 1:43 PM<BR>
>> To: Liu, Zhentao<BR>
>> Cc: users@lists.opennebula.org<BR>
>> Subject: Re: [one-users] cann't connect kvm hypervisor<BR>
>><BR>
>> Hi Zhentao,<BR>
>><BR>
>> Can you check that the libvirtd deaemon is running in the remote node?<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 1:30 PM, Liu, Zhentao<BR>
>> <Zhentao.Liu@fokus.fraunhofer.de> wrote:<BR>
>>> Hello,<BR>
>>><BR>
>>> I'm new of Opennebula. I have installed KVM im my remote node. But when I<BR>
>>> want to check the KVM in the node, I can't connect to the hypervisor.<BR>
>>><BR>
>>> --------------------------------------------------------------------<BR>
>>> root@forest:/var/run/libvirt# virsh -c qemu:///localhost/system list<BR>
>>> Connecting to uri: qemu:///system<BR>
>>> error: failed to connect to the hypervisor<BR>
>>> --------------------------------------------------------------------<BR>
>>><BR>
>>> Can somebody tell me why virsh doesn't work? And how I can fix it?<BR>
>>><BR>
>>> Any helps would be very appreciated?<BR>
>>><BR>
>>> Thanks<BR>
>>><BR>
>>> Zhentao<BR>
>>><BR>
>>> _______________________________________________<BR>
>>> Users mailing list<BR>
>>> Users@lists.opennebula.org<BR>
>>> <A HREF="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR>
>>><BR>
>>><BR>
>><BR>
>><BR>
>> _______________________________________________<BR>
>> Users mailing list<BR>
>> Users@lists.opennebula.org<BR>
>> <A HREF="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR>
>><BR>
>><BR>
><BR>
><BR>
><BR>
> --<BR>
> Shi Jin, Ph.D.<BR>
><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>