Hi, 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:
[VMM][I]: error: unknown OS type hvm Have you properly defined the OS attribute of the image you are trying to deploy? Also, check /var/log/libvirt/qemu/one-9.log in cluster2 for more info about the problem. Cheers, Humberto ------------------------------ Message: 4 Date: Wed, 16 Nov 2011 02:54:01 +0700 From: Dian Djaelani <[email protected]> To: [email protected] Subject: [one-users] error create VM KVM Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed anyone can help me ?? i`m try to build opennebula but error when create virtual machine with KVM hypervisor Wed Nov 16 02:29:57 2011 [DiM][I]: New VM state is ACTIVE. Wed Nov 16 02:29:57 2011 [LCM][I]: New VM state is PROLOG. Wed Nov 16 02:29:57 2011 [VM][I]: Virtual Machine has no context Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh: frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf cluster2:/var/lib/one//9/images/disk.0 Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh: DST: /var/lib/one//9/images/disk.0 Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//9/images Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2 mkdir -p /var/lib/one//9/images". Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Cloning frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "scp frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf cluster2:/var/lib/one//9/images/disk.0". Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2 chmod a+rw /var/lib/one//9/images/disk.0". Wed Nov 16 02:30:57 2011 [TM][I]: ExitCode: 0 Wed Nov 16 02:30:57 2011 [LCM][I]: New VM state is BOOT Wed Nov 16 02:30:57 2011 [VMM][I]: Generating deployment file: /var/lib/one/9/deployment.0 Wed Nov 16 02:31:07 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /var/lib/one//9/images/deployment.0 cluster2 9 cluster2; else exit 42; fi' Wed Nov 16 02:31:07 2011 [VMM][I]: error: Failed to create domain from /var/lib/one//9/images/deployment.0 Wed Nov 16 02:31:07 2011 [VMM][I]: error: unknown OS type hvm Wed Nov 16 02:31:07 2011 [VMM][E]: Could not create domain from /var/lib/one//9/images/deployment.0 Wed Nov 16 02:31:07 2011 [VMM][I]: ExitCode: 255 Wed Nov 16 02:31:07 2011 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//9/images/deployment.0 Wed Nov 16 02:31:08 2011 [DiM][I]: New VM state is FAILED
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
