<div>Hi,</div><div><br></div><div>I have also experienced this problem, my if I am not wrong it can be due to several reasons. In your case I think the following error message can have the clue:</div><div><br></div><div>[VMM][I]: error: unknown OS type hvm<br>
</div><div><br></div><div>Have you properly defined the OS attribute of the image you are trying to deploy?</div><div>Also, check /var/log/libvirt/qemu/one-9.log in cluster2 for more info about the problem.</div><div><br>
</div><div>Cheers,</div><div>Humberto</div><br><div class="gmail_quote">------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 16 Nov 2011 02:54:01 +0700<br>
From: Dian Djaelani <<a href="mailto:djaelani@maxindo.net.id">djaelani@maxindo.net.id</a>><br>
To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: [one-users] error create VM KVM<br>
Message-ID: <<a href="mailto:4EC2C359.1040800@maxindo.net.id">4EC2C359.1040800@maxindo.net.id</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
anyone can help me ?? i`m try to build opennebula but error when create<br>
virtual machine with KVM hypervisor<br>
<br>
Wed Nov 16 02:29:57 2011 [DiM][I]: New VM state is ACTIVE.<br>
Wed Nov 16 02:29:57 2011 [LCM][I]: New VM state is PROLOG.<br>
Wed Nov 16 02:29:57 2011 [VM][I]: Virtual Machine has no context<br>
Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh:<br>
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf<br>
cluster2:/var/lib/one//9/images/disk.0<br>
Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh: DST:<br>
/var/lib/one//9/images/disk.0<br>
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Creating directory<br>
/var/lib/one//9/images<br>
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2<br>
mkdir -p /var/lib/one//9/images".<br>
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Cloning<br>
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf<br>
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "scp<br>
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf<br>
cluster2:/var/lib/one//9/images/disk.0".<br>
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2<br>
chmod a+rw /var/lib/one//9/images/disk.0".<br>
Wed Nov 16 02:30:57 2011 [TM][I]: ExitCode: 0<br>
Wed Nov 16 02:30:57 2011 [LCM][I]: New VM state is BOOT<br>
Wed Nov 16 02:30:57 2011 [VMM][I]: Generating deployment file:<br>
/var/lib/one/9/deployment.0<br>
Wed Nov 16 02:31:07 2011 [VMM][I]: Command execution fail: 'if [ -x<br>
"/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy<br>
/var/lib/one//9/images/deployment.0 cluster2 9 cluster2;<br>
else exit 42; fi'<br>
Wed Nov 16 02:31:07 2011 [VMM][I]: error: Failed to create domain from<br>
/var/lib/one//9/images/deployment.0<br>
Wed Nov 16 02:31:07 2011 [VMM][I]: error: unknown OS type hvm<br>
Wed Nov 16 02:31:07 2011 [VMM][E]: Could not create domain from<br>
/var/lib/one//9/images/deployment.0<br>
Wed Nov 16 02:31:07 2011 [VMM][I]: ExitCode: 255<br>
Wed Nov 16 02:31:07 2011 [VMM][E]: Error deploying virtual machine:<br>
Could not create domain from /var/lib/one//9/images/deployment.0<br>
Wed Nov 16 02:31:08 2011 [DiM][I]: New VM state is FAILED<br>
<br>
</div><br>