vCenter: Guestinfo reconfiguration while the VM makes it unable to start again
|Assignee:||Javi Fontan||% Done:|
|Target version:||Release 5.2|
|Affected Versions:||OpenNebula 5.0|
guestinfo variable is added to a VM in poweroff state this is written to
vmx file so it is persistent between boots. If this variable is set while the VM is running then it is converted to ephemeral. Deleted from the
vmx file and after the VM is powered off it disappears.
This makes resuming a VM after poweroff impossible as the driver is trying to read the token from the context before starting the VM:
guestinfo.opennebula.context should be set every time the VM is started. Also the tokes should be written somewhere else.