Virtual machine instantiation error, failed to create domain

Hi every body,

I’ve created a template like this:
onetemplate create --name “CentOS” --cpu 1 --vcpu 1 --memory 512 --arch x86_64 --disk “CentOS” --nic private --vnc --ssh
but when I instantiate the virtual machine, it turns to fail state.
The content of the log file is:

Sat Apr 11 09:54:44 2015 [DiM][I]: New VM state is ACTIVE.
Sat Apr 11 09:54:44 2015 [LCM][I]: New VM state is PROLOG.
Sat Apr 11 09:55:30 2015 [LCM][I]: New VM state is BOOT
Sat Apr 11 09:55:30 2015 [VMM][I]: Generating deployment file: /var/lib/one/vms/11/deployment.0
Sat Apr 11 09:55:30 2015 [VMM][I]: ExitCode: 0
Sat Apr 11 09:55:30 2015 [VMM][I]: Successfully execute network driver operation: pre.
Sat Apr 11 09:55:32 2015 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/112/11/deployment.0’ ‘localhost’ 11 localhost
Sat Apr 11 09:55:32 2015 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/112/11/deployment.0
Sat Apr 11 09:55:32 2015 [VMM][I]: error: internal error process exited while connecting to monitor: Supported machines are:
Sat Apr 11 09:55:32 2015 [VMM][I]: pc-1.0-precise Ubuntu 12.04 Standard PC (alias of pc-1.0-qemu-kvm)
Sat Apr 11 09:55:32 2015 [VMM][I]: pc-1.0-qemu-kvm Ubuntu 12.04 Standard PC (default)
Sat Apr 11 09:55:32 2015 [VMM][I]: pc Standard PC (alias of pc-1.0)
Sat Apr 11 09:55:32 2015 [VMM][I]: pc-1.0 Standard PC
Sat Apr 11 09:55:32 2015 [VMM][I]: pc-0.14 Standard PC
Sat Apr 11 09:55:32 2015 [VMM][I]: pc-0.13 Standard PC
Sat Apr 11 09:55:32 2015 [VMM][I]: pc-0.12 Standard PC
Sat Apr 11 09:55:32 2015 [VMM][I]: pc-0.11 Standard PC, qemu 0.11
Sat Apr 11 09:55:32 2015 [VMM][I]: pc-0.10 Standard PC, qemu 0.10
Sat Apr 11 09:55:32 2015 [VMM][I]: isapc ISA-only PC
Sat Apr 11 09:55:32 2015 [VMM][I]:
Sat Apr 11 09:55:32 2015 [VMM][E]: Could not create domain from /var/lib/one//datastores/112/11/deployment.0
Sat Apr 11 09:55:32 2015 [VMM][I]: ExitCode: 255
Sat Apr 11 09:55:32 2015 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Sat Apr 11 09:55:32 2015 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/112/11/deployment.0
Sat Apr 11 09:55:33 2015 [DiM][I]: New VM state is FAILED

How can I fixed this problem?

Hi,
I found the solution to this problem

I have just modified the file /etc/one/vmm_exec/vm_exex_kvm.conf

I added machine=“pc” in the OS section