VM Deploying: Could not create domain from

Hello, i’ve got a problem with VM deploying. I saw a lot of similar problems but they didn’t help me.

$ less /var/log/one/35.log
Tue Apr  7 14:05:16 2020 [Z0][VM][I]: New state is ACTIVE
Tue Apr  7 14:05:16 2020 [Z0][VM][I]: New LCM state is PROLOG
Tue Apr  7 14:05:17 2020 [Z0][VM][I]: New LCM state is BOOT
Tue Apr  7 14:05:18 2020 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/35/deployment.0
Tue Apr  7 14:05:18 2020 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Tue Apr  7 14:05:18 2020 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Tue Apr  7 14:05:18 2020 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/35/deployment.0' 'host' 35 host
Tue Apr  7 14:05:18 2020 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/35/deployment.0
Tue Apr  7 14:05:18 2020 [Z0][VMM][I]: error: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
Tue Apr  7 14:05:18 2020 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/35/deployment.0
Tue Apr  7 14:05:18 2020 [Z0][VMM][I]: ExitCode: 255
Tue Apr  7 14:05:18 2020 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Tue Apr  7 14:05:18 2020 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/35/deployment.0
Tue Apr  7 14:05:18 2020 [Z0][VM][I]: New LCM state is BOOT_FAILURE
Tue Apr  7 14:11:02 2020 [Z0][VM][I]: New LCM state is CLEANUP_DELETE
Tue Apr  7 14:11:02 2020 [Z0][VM][I]: New state is DONE
Tue Apr  7 14:11:02 2020 [Z0][VM][I]: New LCM state is LCM_INIT

So, my FN is trying to deploy VM on another host.
Please help me solve that

Hello

You need to activate the KVM module in your host (make sure it is on in the bios and the kernel module is loaded). If for some reason you cannot have KVM you can use LXD.

2 Likes

Thanks you, this solved my problem.