Hello, I am new to OpenNebula and an unexperienced Linux user.
I have a problem deploying a VM starting from a VM template created in Sunstone. I keep having this error: DEPLOY: error: Failed to create domain from /var/lib/one//datastores/0/20/deployment.0
The log also shows:
unsupported configuration: disk type of ‘vda’ does not support ejectable media. Could not create domain from /var/lib/one//datastores/0/20/deployment.0
This is my current VM template (shown in Sunstone):
{
"CONTEXT": {
"NETWORK": "YES",
"SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]"
},
"CPU": "1",
"DISK": [
{
"IMAGE": "Ubuntu-24.04.3-server",
"IMAGE_ID": "0",
"IMAGE_UNAME": "oneadmin"
},
{
"FORMAT": "qcow2",
"SIZE": "1024",
"TYPE": "fs"
}
],
"GRAPHICS": {
"LISTEN": "0.0.0.0",
"TYPE": "VNC"
},
"HYPERVISOR": "kvm",
"MEMORY": "4096",
"NIC": {
"NETWORK_MODE": "auto"
},
"SCHED_DS_REQUIREMENTS": "ID=\"0\"",
"SCHED_REQUIREMENTS": "HYPERVISOR=kvm"
}
What can be wrong? Please help.