Hi<br><br>did you find anything in the libvirt log that could be useful?<br><br>Might want to check permissions on directories before the socket file <br><br>is it /var/run/libvirt/ accessible to the user?<br><br>Can't think og anything else right now , hope it helps :)<br>
<br>FC<br><br><div class="gmail_quote">On Wed, May 9, 2012 at 6:56 PM, Mohit Dhingra <span dir="ltr"><<a href="mailto:mohitdhingras@gmail.com" target="_blank">mohitdhingras@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<b>Hello All,</b><br><br>We are trying to install OpenNebula with kvm as hypervisor, and getting some problem while creating host.<br>We have googled the error, but of no use. <br><br>Logs from oned.log file <br>------------------------------------------------------------------------------------------------<br>
Thu May 10 04:41:32 2012 [ReM][D]: HostPoolInfo method invoked<br>Thu May 10 04:41:32 2012 [ReM][D]: HostPoolInfo method invoked<br>Thu May 10 04:41:34 2012 [InM][I]: Monitoring host cloud (17)<br>Thu May 10 04:41:34 2012 [ReM][D]: HostPoolInfo method invoked<br>
Thu May 10 04:41:34 2012 [ReM][D]: VirtualMachinePoolInfo method invoked<br>Thu May 10 04:41:34 2012 [ReM][D]: AclInfo method invoked<br>Thu May 10 04:41:34 2012 [InM][I]: ExitCode: 0<br>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'<br>
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<br>Thu May 10 04:41:34 2012 [InM][I]: error: failed to connect to the hypervisor<br>
Thu May 10 04:41:34 2012 [InM][E]: Error executing kvm.rb<br>Thu May 10 04:41:34 2012 [InM][I]: ExitCode: 255<br>Thu May 10 04:41:34 2012 [InM][E]: Error monitoring host 17 : MONITOR FAILURE 17 Error executing kvm.rb<br>
<br>
Thu May 10 04:41:39 2012 [ReM][D]: HostInfo method invoked<br>--------------------------------------------------------------------------------------------------------------<br><br><br>Also, libvirtd is running as oneadmin.<br>
<br>oneadmin@cloud:~/var> ps -A -f | grep libvirt<br>oneadmin 9295 1 0 04:40 ? 00:00:00 /usr/sbin/libvirtd -l -d<br><br><br>And, we have done the changes in libvirtd.conf<br>unix_sock_group = "cloud"<br>
unix_sock_rw_perms = "0777"<br>listen_tcp = 1<br><br>and in qemu.conf<br>user = "oneadmin"<br>group = "cloud"<br>dynamic_ownership = 0<br><br>And, in 50-localauthority.conf, <br>Identity=unix-user:oneadmin<br>
Action=org.libvirt.unix.manage<br>#Action=org.libvirt.unix.monitor<br>ResultAny=yes<br>ResultInactive=yes<br>ResultActive=yes<br><br><br>Is there something we are missing out.?? Can somebody please help us out.<br><br><br clear="all">
<b><div><b>---------------------------- <br></b></div>Thanks & Regards<span class="HOEnZb"><font color="#888888"><br><font color="#888888">Mohit Dhingra <br></font></font></span></b><br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>