Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1558626 - PG::InvalidTableDefinition: ERROR: cannot alter inherited column "resource_type [NEEDINFO]
PG::InvalidTableDefinition: ERROR: cannot alter inherited column "resource_type
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
5.9.0
Unspecified Unspecified
unspecified Severity low
: GA
: 5.9.2
Assigned To: Gregg Tanzillo
luke couzens
: ZStream
Depends On: 1558617
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-20 12:03 EDT by Satoe Imaishi
Modified: 2018-05-07 16:47 EDT (History)
9 users (show)

See Also:
Fixed In Version: 5.9.2.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1558617
Environment:
Last Closed: 2018-05-07 16:46:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
gtanzill: needinfo? (jfrey)
simaishi: needinfo? (gtanzill)


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1328 None None None 2018-05-07 16:47 EDT

  None (edit)
Comment 2 CFME Bot 2018-03-20 12:03:59 EDT
New commit detected on ManageIQ/manageiq-schema/gaprindashvili:

https://github.com/ManageIQ/manageiq-schema/commit/73f1f7633ae4ffa726c1fceec92c42465500429a
commit 73f1f7633ae4ffa726c1fceec92c42465500429a
Author:     Jason Frey <fryguy9@gmail.com>
AuthorDate: Fri Mar 16 12:04:36 2018 -0400
Commit:     Jason Frey <fryguy9@gmail.com>
CommitDate: Fri Mar 16 12:04:36 2018 -0400

    Merge pull request #179 from carbonin/sort_tables_before_removing_limits

    Remove the limits from the tables in sorted order
    (cherry picked from commit 565c01f3b9282952bb4e6d38316222dbed5ee77f)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1558626

 db/migrate/20171109225052_remove_string_column_limits.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 luke couzens 2018-05-03 16:44:07 EDT
So I tested this against a fresh 5.6 appliance and migration was successful so I would guess there is another issue with the customer db backup.
Comment 5 Gregg Tanzillo 2018-05-03 18:01:39 EDT
Jason, can you take a look at this? It looks like the TimeProfile.default method in the migration is returning nil - https://github.com/gtanzillo/manageiq-schema/blob/4e927e1e1263320480c26b48d2f667232b2b0aaa/db/migrate/20170207215322_fix_vpor_time_profile_ids.rb#L40

Seems like that should never happen if there are actually VimPerformanceOperatingRange instances in the DB
Comment 8 errata-xmlrpc 2018-05-07 16:46:50 EDT
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/RHSA-2018:1328

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