i just finished installing my OpenNebula Frontend plus a KVM-Hypervisor. Now im trying to deploy my first VM by using the “Ttylinux - KVM” as described in the documentation but i ran into an error. I tried to research the error but most people are having this issue in connection with nfs-datastores which i don’t explicitly use. I just use what was given as the default which would be ssh i guess? I’m fairly new to OpenNebula and would appreciate any help
More details down below. I will gladly provide any additional information.
Versions of the related components and OS (frontend, hypervisors, VMs):
Frontend: Ubuntu 18.04.3 LTS with OpenNebula 5.8.5
Hypervisor: Ubuntu 18.04.3 LTS with KVM (just one node atm)
VM: None right now. Trying to deploy the “Ttylinux - KVM”-VM after first installation
I run into an error trying to deploy the VM. This is the output of the log:
Sat Nov 2 09:51:23 2019 [Z0][VM][I]: New state is ACTIVE
Sat Nov 2 09:51:23 2019 [Z0][VM][I]: New LCM state is PROLOG
Sat Nov 2 09:51:26 2019 [Z0][VM][I]: New LCM state is BOOT
Sat Nov 2 09:51:26 2019 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/4/deployment.0
Sat Nov 2 09:51:28 2019 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Sat Nov 2 09:51:28 2019 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Sat Nov 2 09:51:29 2019 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/0/4/deployment.0’ ‘192.168.0.39’ 4 192.168.0.39
Sat Nov 2 09:51:29 2019 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/4/deployment.0
Sat Nov 2 09:51:29 2019 [Z0][VMM][I]: error: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm
Sat Nov 2 09:51:29 2019 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/4/deployment.0
Sat Nov 2 09:51:29 2019 [Z0][VMM][I]: ExitCode: 255
Sat Nov 2 09:51:29 2019 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Sat Nov 2 09:51:29 2019 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/4/deployment.0
Sat Nov 2 09:51:29 2019 [Z0][VM][I]: New LCM state is BOOT_FAILURE
Expected results: The VM gets deployed as described in the documentation.
Since i just wanted to get things up and running as quickly as possible i skipped the storage part and went to “Verify your Installation”. I could add the host to OpenNebula without any problems. I thought because the “Verify your Installation” documentation mentions that the VM will not have any network connectivity at this point my missing network configuration wouldn’t be an issue.
yes i am able to ssh between the nodes as oneadmin but i think i found the issue with my installation. I used VirtualBox for a test enviroment which doesn’t seem to give the VMs the features to virtualize properly. I used a virtual ESXi Server to verfiy this. I couldn’t start up any vms. I now switched to ESXi on dedicated hardware. Reinstalled everything and now it works just fine.