Bug 1595887 - Backport to OSP 13: Add DB cleanup functionality to nova-manage.
Summary: Backport to OSP 13: Add DB cleanup functionality to nova-manage.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z11
: 13.0 (Queens)
Assignee: melanie witt
QA Contact: OSP DFG:Compute
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_none upstream_defi...
Depends On: 1154875
Blocks: 1541693 1595886 1732852 1888097 1894145
TreeView+ depends on / blocked
 
Reported: 2018-06-27 16:48 UTC by Andreas Karis
Modified: 2023-03-21 18:56 UTC (History)
28 users (show)

Fixed In Version: openstack-nova-17.0.12-7.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of: 1154875
Environment:
Last Closed: 2020-03-10 11:27:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 137669 0 'None' ABANDONED Adds an archival framework to Nova 2021-01-13 15:57:50 UTC
OpenStack gerrit 200224 0 'None' MERGED Spec: add nova-manage db purge-deleted-instances 2021-01-13 15:57:50 UTC
OpenStack gerrit 203751 0 'None' ABANDONED Purge soft-deleted instances cmd 2021-01-13 15:58:31 UTC
Red Hat Issue Tracker OSP-9223 0 None None None 2022-08-09 09:33:37 UTC
Red Hat Knowledge Base (Solution) 3190162 0 None None None 2018-06-27 16:48:24 UTC
Red Hat Product Errata RHBA-2020:0759 0 None None None 2020-03-10 11:28:35 UTC

Comment 1 Andreas Karis 2018-06-27 16:49:14 UTC
Requesting a backport to OSP 13 for this feature:

----------------

This is now fully merged upstream.

To test this, it's possible to just use the existing archive command on a database with deleted records:

 nova-manage db archive_deleted_rows --all-cells --purge --verbose --until-complete

Comment 13 errata-xmlrpc 2020-03-10 11:27:15 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/RHBA-2020:0759


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