Return Deleted Instance on Show

Registered by Andrew Melton on 2013-04-29

Currently the Nova API returns a 404: ItemNotFound response when a show is made on a deleted instance. As the data about an instance is soft-deleted, it may still be in the database and available to return to the user. The modified show call would be gated by a policy and would only show deleted instances if the users role allowed it. The call would still return 404 when the users role does not allow showing of deleted instances.

Blueprint information

Status:
Not started
Approver:
Russell Bryant
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

In grizzly we added 'db-archiving' such that soft-deleted rows can be archived elsewhere. I don't think we should add an API for something unless we intend for it to always work. We should discuss this on the openstack-dev list. --russellb

Gerrit topic: https://review.openstack.org/#q,topic:bp/show-deleted-instances,n,z

Addressed by: https://review.openstack.org/28583
    Add policy to allow showing of deleted instance.

As suggested, I attempted to start a discussion on openstack-dev, but I have not received any input from any Nova devs. Please find the thread here: http://lists.openstack.org/pipermail/openstack-dev/2013-April/008219.htmlIn grizzly we added 'db-archiving' such that soft-deleted rows can be archived elsewhere. I don't think we should add an API for something unless we intend for it to always work. We should discuss this on the openstack-dev list. --russellb

Gerrit topic: https://review.openstack.org/#q,topic:bp/show-deleted-instances,n,z

Addressed by: https://review.openstack.org/28583
    Add policy to allow showing of deleted instance.

As suggested, I attempted to start a discussion on openstack-dev, but I have not received any input from any Nova devs. Please find the thread here: http://lists.openstack.org/pipermail/openstack-dev/2013-April/008219.html

Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.