Hi,<br><br><div class="gmail_quote">On 30 August 2012 05:20, Chris Mutchler <span dir="ltr"><<a href="mailto:chris@leibnizcreations.com" target="_blank">chris@leibnizcreations.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am running OpenNebula on a CentOS 6.3 server with the latest packages. I'm slowly working through the different pieces and believe I have everything configured correctly to allocate a VM. However, the state of the VM is 'fail' and I see the following message from the CLI:<br>
<br>$ onevm show 2<br>VIRTUAL MACHINE 2 INFORMATION<br>ID : 2<br>NAME : one-2<br>USER : oneadmin<br>GROUP : oneadmin<br>STATE : FAILED<br>LCM_STATE : LCM_INIT<br>
RESCHED : No<br>START TIME : 08/29 14:58:40<br>END TIME : 08/29 14:58:45<br>DEPLOY ID : -<br><br>VIRTUAL MACHINE MONITORING<br>NET_TX : 0K<br>USED MEMORY : 0K<br>
NET_RX : 0K<br>USED CPU : 0<br><br>PERMISSIONS<br>OWNER : um-<br>GROUP : ---<br>OTHER : ---<br><br>VIRTUAL MACHINE TEMPLATE<br>CPU="1"<br>DISK=[<br>
CLONE="YES",<br> DATASTORE="default",<br> DATASTORE_ID="1",<br> DEV_PREFIX="hd",<br> DISK_ID="0",<br> DRIVER="raw",<br> IMAGE="CentOS 6.3 Live",<br>
IMAGE_ID="1",<br> READONLY="YES",<br> SAVE="NO",<br> SOURCE="/var/lib/one/datastores/1/886cc945c0673e8b82f53df3ddf73336",<br> TARGET="hdc",<br> TM_MAD="shared",<br>
TYPE="CDROM" ]<br>DISK=[<br> DEV_PREFIX="hd",<br> DISK_ID="1",<br> SIZE="1024",<br> TARGET="hda",<br> TYPE="swap" ]<br>ERROR=[<br> MESSAGE="Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/2/deployment.0",<br>
TIMESTAMP="Wed Aug 29 14:58:45 2012" ]<br>GRAPHIC=[<br> LISTEN="192.168.1.150",<br> PORT="5902",<br> TYPE="vnc" ]<br>MEMORY="1.0"<br>NAME="one-2"<br>NIC=[<br>
BRIDGE="br0",<br> IP="10.10.0.1",<br> MAC="50:20:20:20:20:20",<br> NETWORK="Private",<br> NETWORK_ID="1",<br> VLAN="NO" ]<br>VMID="2"<br><br>VIRTUAL MACHINE HISTORY<br>
SEQ HOST REASON START TIME PROLOG_TIME<br> 0 cloud erro 08/29 14:58:43 0d 00h00m02s 0d 00h00m02s<br><br>I searched through the archive for the string "Could not create domain" and I could not find a solution. I believe i have KVM setup correctly on the host server (which is also the front-end), but I cannot seem to figure out what is still broken in my setup.<br>
<br>When I run the command 'virsh -c qemu:///system/list' I do not receive any errors.<br><br>The only thing I can think of is that my datastores under /var/lib/one are symlinked over to /opt/one/datastores. I've verified everything is owned by oneadmin user and group and believe it should be working.<br>
<br>Also, I can see the /var/lib/one//datastores/0/2/deployment.0 file in that directory.<br><br>What am I missing? Thank you in advance for any assistance you can provide.</blockquote><div><br></div><div>If you check /var/log/one/oned.log file, it should contain more information related to the error. </div>
<div><br></div><div>Cheers</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>-- <br>Chris Mutchler<br><a href="mailto:chris@leibnizcreations.com" target="_blank">chris@leibnizcreations.com</a><br>
</font></span><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><br clear="all"><div><br></div>-- <br>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula<br>