Hello.
I have Opennebula on Cent OS 7 and KVM Node on Cent OS.
I create a template with the help of ON (image cd + image hdd ), and i noted that, when i stop VM with help of ON button “Power off HARD” (Simple Power off doesn’t work at all) , my VM was deleted from KVM Node.
When first i try to stop VM from KVM and after push Power Off HARD in ON, now VM exists.
But When i start VM from ON , it try to create one more machine with the same name.
In Log,when i try start VM from ON
Tue Dec 19 01:26:08 2017 [Z0][VM][I]: New state is ACTIVE
Tue Dec 19 01:26:08 2017 [Z0][VM][I]: New LCM state is BOOT_POWEROFF
Tue Dec 19 01:26:08 2017 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/21/deployment.13
Tue Dec 19 01:26:09 2017 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_context.
Tue Dec 19 01:26:09 2017 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Tue Dec 19 01:26:09 2017 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/112/21/deployment.13’ ‘80.249.81.234’ 21 80.249.81.234
Tue Dec 19 01:26:09 2017 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/112/21/deployment.13
Tue Dec 19 01:26:09 2017 [Z0][VMM][I]: error: operation failed: domain ‘one-21’ already exists with uuid b821c234-f6b4-44cb-b39d-61d8608fb54b
Tue Dec 19 01:26:09 2017 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/112/21/deployment.13
Tue Dec 19 01:26:09 2017 [Z0][VMM][I]: ExitCode: 255
Tue Dec 19 01:26:09 2017 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Tue Dec 19 01:26:09 2017 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/112/21/deployment.13
Tue Dec 19 01:26:09 2017 [Z0][VM][I]: New state is POWEROFF
Tue Dec 19 01:26:09 2017 [Z0][VM][I]: New LCM state is LCM_INIT
Please, describe, how i can create correct template from ON , which will be work as expected