Delete-Recreate fails if context-scripts are changed
|Category:||Core & System|
We have an issue with the delete recreate function.
We are updating our init.sh context script in the way that we delete it and upload a newer version of it. So the name is the same, but ID and the file name in the datastore changed.
So when we have a VM running, all is fine... but if we update the init.sh script and then do "delete recreate" we get an error, that the script from the file_ds couldn't be copied.
The VM fails and won't start. It ends up in status "Fail".
#1 Updated by Ruben S. Montero almost 4 years ago
- Tracker changed from Bug to Backlog
The delete --recreate operation does not update the VM template (so to keep IP addresses and/or persistent images). In this case the context will not reference the new init file.
I am moving this to the backlog tracker, to revisit the recreate process (for example context could be regenerated).