glance db purge util
Adding functionality to `glance-manage db` to safely purge "deleted" data. This will have non-optional argument of nDays.
For example `glance-manage db purge 60` will go into the glance 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:
- Started
- Approver:
- Flavio Percoco
- Priority:
- Undefined
- Drafter:
- Martin Mágr
- Direction:
- Needs approval
- Assignee:
- Martin Mágr
- Definition:
- New
- Series goal:
- None
- Implementation:
- Needs Code Review
- Milestone target:
- None
- Started by
- Flavio Percoco
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add db purge command
NOTE [2015-10-07 nikhil]: Please create a glance-spec for documenting this BP more clearly: https:/