Allow deletes to occur in any state
Deletes are allowed in most states right now, but because of various failure scenarios, there are situations where an instance cannot be fully deleted. Users will want to delete an instance at anytime, for management and billing reasons. If an instance is not in a state that does not safely allow for deletes, then the instance should be hidden from the user (effectively deleted from their perspective) by either moving to another tenant, masking through the database or another means.
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- High
- Drafter:
- Johannes Erdfelt
- Direction:
- Approved
- Assignee:
- Sina Web Service Dev
- Definition:
- Approved
- Series goal:
- Accepted for folsom
- Implementation:
- Implemented
- Milestone target:
- 2012.2
- Started by
- Hui Cheng
- Completed by
- Vish Ishaya
Whiteboard
Agreed. It seems like we should have an extra write once boolean in the db for terminated instead of relying on the overloaded state flag. This represents that the user has terminated the instance, and if it is set we should never bill or return it to the user. The actual termination/
This should be addressed in this commit: https:/
Gerrit topic: https:/
Addressed by: https:/
Deletes instance in any state