Backlog #3470

Delete-Recreate fails if context-scripts are changed

Added by Robert Waffen almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:12/19/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:-

Description

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".


Related issues

Related to Backlog #2375: Allow VMs to pull data from OneGate Pending 10/10/2013
Related to Feature #3150: Context.sh is not updated when NIC with updated IP is att... Closed 08/13/2014

History

#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).

#2 Updated by Ruben S. Montero almost 4 years ago

  • Related to Backlog #2375: Allow VMs to pull data from OneGate added

#3 Updated by Ruben S. Montero over 3 years ago

  • Status changed from Pending to Closed

Dynamic context is handled by the referenced issues

#4 Updated by Ruben S. Montero over 3 years ago

  • Related to Feature #3150: Context.sh is not updated when NIC with updated IP is attached added

Also available in: Atom PDF