*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@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
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to