Bug 1315132

Summary: Add a script to run before the database
Product: [Community] Bugzilla Reporter: Jeff Fearn 🐞 <jfearn>
Component: Bugzilla GeneralAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 4.4CC: huiwang, jmcdonal, mtahir, qgong
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-18 05:02: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:

Description Jeff Fearn 🐞 2016-03-07 01:14:23 UTC
Description of problem:
We need to run a script before rh-database-update.pl is run for an upgrade from BZ-4 to BZ-5, to clean any data that will break the upgrade.

Rename bz5-cleanup.pl to bz5-post-db-update.pl and name the new script bz5-pre-db-update.pl

Current know issue is that there are two polarion entries that will break on the new index.

Comment 1 Rony Gong 🔥 2016-03-22 09:58:45 UTC
Verified the issue.
The result is PASS.
version 5.0.2.rh2
That 2 scripts could execute smoothly in the server.