Implement soft delete for all objects

Registered by Sergey Lukjanov

All OpenStack services are using soft-delete instead of real delete. It should be implemented for Savanna too.

BTW shadow-tables and cleanup scripts should be implemented too.

SoftDeleteMixin in oslo/db - https://github.com/openstack/oslo.db/blob/stable/juno/oslo/db/sqlalchemy/models.py#L123

Blueprint information

Status:
Not started
Approver:
Sergey Lukjanov
Priority:
Undefined
Drafter:
Sergey Lukjanov
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

[SL]: it should be discussed due to the some intention in OpenStack eco to stop using soft deletes.
[jhalterman]: Soft deletes are useful for integration with billing, to determine how long clusters were up, etc.
[AL]: Nova is going to get rid of 'deleted' column: https://review.openstack.org/#/c/137669/

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.