Bug 1159142 - [RFE][cinder]: cinder db purge util
Summary: [RFE][cinder]: cinder db purge util
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Upstream M2
: 7.0 (Kilo)
Assignee: Eric Harney
QA Contact: nlevinki
URL: https://blueprints.launchpad.net/cind...
Whiteboard: upstream_milestone_kilo-2 upstream_de...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-31 04:07 UTC by RHOS Integration
Modified: 2016-04-26 16:18 UTC (History)
6 users (show)

Fixed In Version: openstack-cinder-2015.1.0-2.el7ost
Doc Type: Enhancement
Doc Text:
This update adds functionality to 'cinder-manage db' to safely purge old "deleted" data from the Cinder database. This reduces database space usage and improves database performance.
Clone Of:
Environment:
Last Closed: 2015-08-05 13:16:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 17:07:06 UTC

Description RHOS Integration 2014-10-31 04:07:37 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/database-purge.

Description:

Adding functionality to `cinder-manage db` to safely purge "deleted" data. This will have non-optional argument of nDays.
For example `cinder-manage db purge 60` will go into the cinder 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.

Specification URL (additional information):

None

Comment 7 errata-xmlrpc 2015-08-05 13:16:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548


Note You need to log in before you can comment on or make changes to this bug.