~hudson-openstack/nova/trunk

Viewing all changes in revision 1608.

  • Committer: Tarmac
  • Author(s): Johannes Erdfelt, Johannes Erdfelt
  • Date: 2011-09-21 15:54:30 UTC
  • mfrom: (1522.1.30 deferred-delete-instance)
  • Revision ID: tarmac-20110921155430-rl9q3yuiso22mzjy
Instance deletions in Openstack are immediate. This can cause data to be lost accidentally.

This branch adds a new configuration flag, reclaim_instance_interval. The default of 0 results in the same behavior before this patch, immediate deletion of the instance. Any value greater than 0 will result in the instance being powered off immediately and then later the instance will be reclaimed.

New actions, restore and forceDelete allow a previously deleted instance to be restored, or reclaimed immediately.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: