I am a student and i have a project that needs me to use opennebula i installed everything and now i am in the sunstone where i am trying to make VMs the problem is that they are staying pending permanently and they doesn’t get host. I made the template for the VMs using Ubuntu18.04 iso and i made the network template using bridged network.
this is screenshots from everything i did in the sunstone until now.
Maybe you don’t have hosts yet ??? You can always manually deploy a VM by selecting a host from the list
I tried to deploy host manually and the status went from PENDING to FAILURE
That is the Log i got from the VM
Tue Jan 14 19:27:27 2020 [Z0][VM][I]: New state is ACTIVE
Tue Jan 14 19:27:27 2020 [Z0][VM][I]: New LCM state is PROLOG
Tue Jan 14 19:27:32 2020 [Z0][TM][I]: Command execution failed (exit code: 255): /var/lib/one/remotes/tm/ssh/ln cyberrange.local:/var/lib/one//datastores/1/34c1c1baade031ed0e1f1f8c049d6154 test-host-2:/var/lib/one//datastores/0/6/disk.0 6 1
Tue Jan 14 19:27:32 2020 [Z0][TM][E]: Error creating directory /var/lib/one/datastores/0/6 at test-host-2: ssh: Could not resolve hostname test-host-2: Name or service not known
Tue Jan 14 19:27:32 2020 [Z0][TM][E]: Error executing image transfer script: Error creating directory /var/lib/one/datastores/0/6 at test-host-2: ssh: Could not resolve hostname test-host-2: Name or service not known
Tue Jan 14 19:27:32 2020 [Z0][VM][I]: New LCM state is PROLOG_FAILURE
Check the hosts you have in the environment. The frontend is failing to transfer the VM disk to the host cause it cannot resolve its hostname. Make sure the frontend can passwordlessly ssh into the hosts. Carefully read this