[one-users] OpenNebula 3.4.1 - Error creating host for kvm

fc lists fclists at pr-z.info
Wed May 9 11:57:55 PDT 2012


Hi

did you find anything in the libvirt log that could be useful?

Might want to check permissions on directories before the socket file

is it /var/run/libvirt/ accessible to the user?

Can't think og anything else right now , hope it helps :)

FC

On Wed, May 9, 2012 at 6:56 PM, Mohit Dhingra <mohitdhingras at gmail.com>wrote:

> *Hello All,*
>
> We are trying to install OpenNebula with kvm as hypervisor, and getting
> some problem while creating host.
> We have googled the error, but of no use.
>
> Logs from oned.log file
>
> ------------------------------------------------------------------------------------------------
> Thu May 10 04:41:32 2012 [ReM][D]: HostPoolInfo method invoked
> Thu May 10 04:41:32 2012 [ReM][D]: HostPoolInfo method invoked
> Thu May 10 04:41:34 2012 [InM][I]: Monitoring host cloud (17)
> Thu May 10 04:41:34 2012 [ReM][D]: HostPoolInfo method invoked
> Thu May 10 04:41:34 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu May 10 04:41:34 2012 [ReM][D]: AclInfo method invoked
> Thu May 10 04:41:34 2012 [InM][I]: ExitCode: 0
> Thu May 10 04:41:34 2012 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 17
> cloud; else                              exit 42; fi'
> Thu May 10 04:41:34 2012 [InM][I]: error: unable to connect to
> '/var/run/libvirt/libvirt-sock', libvirtd may need to be started:
> Connection refused
> Thu May 10 04:41:34 2012 [InM][I]: error: failed to connect to the
> hypervisor
> Thu May 10 04:41:34 2012 [InM][E]: Error executing kvm.rb
> Thu May 10 04:41:34 2012 [InM][I]: ExitCode: 255
> Thu May 10 04:41:34 2012 [InM][E]: Error monitoring host 17 : MONITOR
> FAILURE 17 Error executing kvm.rb
>
> Thu May 10 04:41:39 2012 [ReM][D]: HostInfo method invoked
>
> --------------------------------------------------------------------------------------------------------------
>
>
> Also, libvirtd is running as oneadmin.
>
> oneadmin at cloud:~/var> ps -A -f | grep libvirt
> oneadmin  9295     1  0 04:40 ?        00:00:00 /usr/sbin/libvirtd -l -d
>
>
> And, we have done the changes in libvirtd.conf
> unix_sock_group = "cloud"
> unix_sock_rw_perms = "0777"
> listen_tcp = 1
>
> and in qemu.conf
> user = "oneadmin"
> group = "cloud"
> dynamic_ownership = 0
>
> And, in  50-localauthority.conf,
> Identity=unix-user:oneadmin
> Action=org.libvirt.unix.manage
> #Action=org.libvirt.unix.monitor
> ResultAny=yes
> ResultInactive=yes
> ResultActive=yes
>
>
> Is there something we are missing out.?? Can somebody please help us out.
>
>
> *
> ----------------------------
> Thanks & Regards
> Mohit Dhingra
> *
>
> _______________________________________________
> 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/20120509/890ac85e/attachment-0003.htm>


More information about the Users mailing list