Allow delaying the actual deletion of an image

Registered by Jay Pipes

Allow delaying the actual deletion of an image.

If glance-api.conf has delayed_delete set to False or not set at all (it defaults to False) immediatly delete the image. If delayed_delete is set to True glance-api sets the status to pending_delete but does not call the backend delete. From the user's point of view it is actually deleted, and future calls will 404.

A new daemon glance-scrubber is introduced which looks for pending_delete images that are older than a configurable interval and will actually delete from the backend the images.

Blueprint information

Status:
Complete
Approver:
Jay Pipes
Priority:
Low
Drafter:
Jason Kölker
Direction:
Needs approval
Assignee:
Jason Kölker
Definition:
Approved
Series goal:
Accepted for diablo
Implementation:
Implemented
Milestone target:
milestone icon 2011.3
Started by
Jay Pipes
Completed by
Jay Pipes

Sprints

Whiteboard

First appeared in diablo-3

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.