nova db purge util
Registered by
Abel Lopez
Adding functionality to `nova-manage db` to safely purge "deleted" data. This will have non-optional argument of nDays.
For example `nova-manage db purge 60` will go into the nova db, and delete from each table where 'deleted =! 0 and deleted_at > date_sub(NOW(), interval 60 day);'
This is a useful feature as Openstack matures and operators/admins are upgrading over time.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Abel Lopez
- Direction:
- Needs approval
- Assignee:
- Abel Lopez
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Database purge deleted spec
(?)