[one-users] failed to connect to the hypervisor
cloud.b.lab
cloud.b.lab at zoho.com
Thu May 31 12:42:45 PDT 2012
Susmita ,
some tips from a OpenNeula user:
Please cross check the following for "error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: Permission denied" :
1)
edit file: /etc/libvirt/libvirtd.conf as make following changes:
unix_sock_group = "oneadmin" [if you have given a different name for the group like "cloud" , provide that]
edit file: /etc/libvirt/qemu.conf and make following changes
vnc_listen = "0.0.0.0"
user = "oneadmin"
group = "cloud"
dynamic_ownership = 1
then restart libvirt as root : /etc/init.d/libvirt-bin restart
try VM creation.
If the issue still exists then,
2) Make following change in file: /etc/libvirt/libvirtd.conf
unix_sock_rw_perms = "0777" then restart libvirt as root : /etc/init.d/libvirt-bin restart
sudo chown oneadmin:kvm /dev/kvm
try VM creation.
Regards,
Anil.
---- On Thu, 31 May 2012 04:55:10 -0700 Hector Sanjuan<hsanjuan at opennebula.org> wrote ----
Please check that libvirtd is running and that the oneadmin user has
permissions to connect to the libvirt socket. This permissions can be
adjusted in /etc/libvirt/libvirtd.conf or somewhere similar in Ubuntu i
guess.
Hector
En Thu, 31 May 2012 13:43:49 +0200, Susmita Horrow <hsusmita4 at gmail.com>
escribió:
> Hello,
> I have deployed opennebula 3.0 on machine running on ubuntu with KVM
> hypervisor. I am getting the following error.
>
>
> - Thu May 31 17:03:35 2012 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 8
> oneadmin at 192.168.0.2; else exit 42; fi'
> Thu May 31 17:03:35 2012 [InM][I]: error: unable to connect to
> '/var/run/libvirt/libvirt-sock', libvirtd may need to be started:
> Permission denied
> Thu May 31 17:03:35 2012 [InM][I]: error: failed to connect to the
> hypervisor
> Thu May 31 17:03:35 2012 [InM][E]: Error executing kvm.rb
> Thu May 31 17:03:35 2012 [InM][I]: ExitCode: 255
> Thu May 31 17:03:35 2012 [InM][E]: Error monitoring host 8 : MONITOR
> FAILURE 8 Error executing kvm.rb
>
>
> Please help me to get through it.
>
> Regards
> Susmita Horrow
--
Hector Sanjuan
OpenNebula Developer
_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120531/c007f9cb/attachment-0002.htm>
More information about the Users
mailing list