Bug 1281595 - Purge deleted rows from the database
Summary: Purge deleted rows from the database
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 6.0 (Juno)
Assignee: Gorka Eguileor
QA Contact: lkuchlan
URL:
Whiteboard:
Depends On: 1281591
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-12 21:30 UTC by Sergey Gotliv
Modified: 2023-02-22 23:02 UTC (History)
6 users (show)

Fixed In Version: openstack-cinder-2014.2.3-11.el7ost
Doc Type: Enhancement
Doc Text:
This update adds the ability to clean up rows that are already marked as deleted of a certain specified age. Age is calculated as timedelta from now() in days, which are specified via the command line. This update removes clutter from the Block Storage service database.
Clone Of: 1281591
Environment:
Last Closed: 2016-01-21 13:54:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0059 0 normal SHIPPED_LIVE openstack-cinder bug fix advisory 2016-01-21 18:52:11 UTC

Comment 2 lkuchlan 2016-01-04 14:38:10 UTC
Verification instructions:
1. Create a volume and delete it
2. Set the system clock +1 day from the current date
3. cinder-manage db purge 1

Results:
The "deleted" entries have removed successfully from Cinder's DB

Tested using:
python-cinder-2014.2.3-11.el7ost.noarch
python-cinderclient-1.1.1-1.el7ost.noarch
openstack-cinder-2014.2.3-11.el7ost.noarch

Comment 4 errata-xmlrpc 2016-01-21 13:54:39 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://rhn.redhat.com/errata/RHBA-2016-0059.html


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