← Back to team overview

openstack team mailing list archive

Re: nova state machine simplification and clarification

 

Sorry for responding to old thread, I later realized that Yun had already responded to Gabe's query.

-----Original Message-----
From: Vaze, Mandar 
Sent: Friday, May 25, 2012 6:10 PM
To: 'Gabe Westmaas'; Mark Washenberger; openstack@xxxxxxxxxxxxxxxxxxx; yunmao@xxxxxxxxx
Subject: RE: [Openstack] nova state machine simplification and clarification

> I'd like to understand the difference between a soft and hard delete.

soft_delete is invoked when "reclaim_instance_interval" flag is set to non-zero.
In this case, when delete command is fired, only the VM is powered off, and vm_state is set to SOFT_DELETE Other resources (like network, volume, and files created in instances_path etc) are cleaned up at later point via a periodic task.

> What exactly is a hard delete from the standpoint of a customer?  Is 
> this just a delete
hard_delete is when vm is "destroyed" (As opposed to power off) and resources are cleaned up immediately.
This is the default configuration 

-Mandar



______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding


Follow ups

References