Bug 1888097

Summary: [OSP13] Add deployment parameters for 'nova-manage db archive_deleted_rows --purge' and 'nova-manage db purge'
Product: Red Hat OpenStack Reporter: melanie witt <mwitt>
Component: puppet-novaAssignee: melanie witt <mwitt>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: ahyder, aschultz, igallagh, jjoyce, jschluet, mburns, michele, mschuppe, nlevinki, slinaber, tvignaud
Target Milestone: z14Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-nova-12.5.0-9.el7ost openstack-tripleo-heat-templates-8.4.1-71.el7ost instack-undercloud-8.4.9-12.el7ost puppet-tripleo-8.5.1-19.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-16 13:55:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1595887    
Bug Blocks: 1732852, 1894145    

Description melanie witt 2020-10-14 03:25:30 UTC
This rhbz is to track the backport of puppet-nova and openstack-tripleo-heat-templates changes to add database purge functionality to the deployment side of RHOSP.

The database purge command and option for archive were added in the following patches to openstack-nova for OSP13 [1]:

https://code.engineering.redhat.com/gerrit/#/q/topic:bp/purge-db+status:merged

In order to allow customers to receive automatic purging of shadow tables, we need to backport deployment patches that make use of the purge command and archive option in nova.

The puppet-nova patch needed is:

https://review.opendev.org/551959

and the openstack-tripleo-heat-templates patch needed is:

https://review.opendev.org/551966

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1595887

Comment 4 melanie witt 2020-11-03 02:51:26 UTC
One more puppet-nova patch needed is:

https://review.opendev.org/554990

Comment 12 Michele Baldessari 2020-11-13 09:28:56 UTC
*** Bug 1897507 has been marked as a duplicate of this bug. ***

Comment 16 errata-xmlrpc 2020-12-16 13:55:05 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 (Red Hat OpenStack Platform 13.0 director bug fix 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:5575