Bug 800580
Summary: | 4.3 db upgrade failing if existing db does not have RHQ_DRIFT_TEMPLATE_MAP table | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Jay Shaughnessy <jshaughn> | |
Component: | Database | Assignee: | Jay Shaughnessy <jshaughn> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 4.2 | CC: | hrupp | |
Target Milestone: | --- | |||
Target Release: | RHQ 4.4.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 800605 (view as bug list) | Environment: | ||
Last Closed: | 2013-09-01 10:02:28 UTC | Type: | --- | |
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: | ||||
Bug Blocks: | 782579, 800605 |
Description
Jay Shaughnessy
2012-03-06 18:42:49 UTC
As a note, my failure case was an upgrade from 4.2 to 4.3. In master I recommend we make the dropTable command more tolerant, or allow an attribute to ignoreError. Also, the unit tests need to be checked to figure out why this wasn't detected. Relevant master commit: 7ade8f5748a0f973dd684be12aa7bdf1c75e1f57 - Add obsolete=true to RHQ_DRIFT_TEMPLATE_MAP. Instead of getting deleted it's potentialy getting created. Master commit: c5bd48824409d53a08536b9f4c93271e755d0619 The dropTable SST command did not honor ignoreError="true" and would kill the upgrade step if the table did not exist. This fixes that issue. Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since. |