Add ability to limit archiving of deleted instances up to date
Nova soft-deletes instances and their associated information, which means the database rows are never deleted, but just marked as deleted. In big clouds this can impact DB performance, so an option to archive (move) 'deleted' information to shadow_* tables was implemented. This is great, however, the archival code does not have fine grained control on limiting archive based on date.
Optimally, in our cloud, we would like to keep a records up to a certain number of years (3) for reporting purposes, and archive everything older than that.
We have a patch working for us and would like to gauge if the nova team is interested in merging it. The patch adds an extra option `--before` to `nova-manage db archive_
Blueprint information
- Status:
- Complete
- Approver:
- Eric Fried
- Priority:
- Low
- Drafter:
- Jake Yip
- Direction:
- Approved
- Assignee:
- Jake Yip
- Definition:
- Approved
- Series goal:
- Accepted for train
- Implementation:
- Implemented
- Milestone target:
- train-2
- Started by
- melanie witt
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add --before to nova-manage db archive_
Gerrit topic: https:/
Addressed by: https:/
Add --before to nova-manage db archive_
Looks like this is complete since https:/