<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Kenneth,<BR>
Maybe a little more information about your setup/configuration:  Do you have the QEMU/KVM and libvirt binaries installed on the Host 2?  I'm thinking the scheduler is trying to deploy to this host (if you don't intend on using Host 2 for running virtual instances then you can remove it from your OpenNebula configuration). <BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
</TD>
</TR>
</TABLE>
-----Original Message-----<BR>
<B>From</B>: <A HREF="mailto:kenneth@apolloglobal.net">kenneth@apolloglobal.net</A><BR>
<B>To</B>: <A HREF="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</A><BR>
<B>Subject</B>: [one-users] Failed to create domain<BR>
<B>Date</B>: Wed, 07 Aug 2013 09:39:40 +0800<BR>
<BR>
<BR>
<BR>
<FONT COLOR="#000000">Hi all,</FONT><BR>
<BR>
<BR>
<FONT COLOR="#000000">I have been trying ceph (running smoothly) and opennebula (not quite running) and here is my setup. </FONT><BR>
<FONT COLOR="#000000">The front end is cloud-node1 and the ceph front-end is the cloud-node2.</FONT><BR>
<FONT COLOR="#000000">The front end is the KVM sanbox download from the opennebula website. I have manage to add cloud-node2 as a host, Status is ON.</FONT><BR>
<BR>
<BR>
<FONT COLOR="#000000">Also, I have created a ceph datastore where the host is cloud-node2.</FONT><BR>
<FONT COLOR="#000000">[oneadmin@cloud-node1 images]$ onedatastore list</FONT><BR>
<FONT COLOR="#000000">  ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM      </FONT><BR>
<FONT COLOR="#000000">   0 system                 - -     -                 0 sys  -        shared</FONT><BR>
<FONT COLOR="#000000">   1 default             9.7G 69%   -                 3 img  fs       shared</FONT><BR>
<FONT COLOR="#000000">   2 files               9.7G 69%   -                 0 fil  fs       ssh</FONT><BR>
<FONT COLOR="#000000"> 102 cephds              5.5T 62%   -                 1 img  ceph     ceph</FONT><BR>
<FONT COLOR="#000000">Now I downloaded an image from the marketplace and tried to fire up a VM. Here is the log. I can't seem to find out where to start fixing this. Any help?</FONT><BR>
<BR>
<BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:22 2013 [DiM][I]: New VM state is ACTIVE.</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:22 2013 [LCM][I]: New VM state is PROLOG.</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:52 2013 [LCM][I]: New VM state is BOOT</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:52 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/12/deployment.0</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][I]: ExitCode: 0</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][I]: Successfully execute network driver operation: pre.</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/12/deployment.0' 'cloud-node2' 12 cloud-node2</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/12/deployment.0</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][I]: error: Cannot find QEMU binary /usr/share/qemu-kvm: Is a directory</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/12/deployment.0</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][I]: ExitCode: 255</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/12/deployment.0</FONT><BR>
<FONT COLOR="#000000">Wed Aug 7 03:12:53 2013 [DiM][I]: New VM state is FAILED</FONT><BR>
<BR>
 
<PRE>
_______________________________________________
Users mailing list
<A HREF="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</A>
<A HREF="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A>
</PRE>

<br>
<html><body><b>NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.</b></body></html>
<br>
</BODY>
</HTML>