Bug 1552911 - Error while checking that migrations are up to date
Summary: Error while checking that migrations are up to date
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Brandon Dunne
QA Contact: Md Nadeem
URL:
Whiteboard:
Depends On:
Blocks: 1553397
TreeView+ depends on / blocked
 
Reported: 2018-03-07 22:27 UTC by Brandon Dunne
Modified: 2019-08-22 00:55 UTC (History)
5 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1553397 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:03:29 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brandon Dunne 2018-03-07 22:27:00 UTC
Description of problem:
The method file_migration_list in the SchemaMigration model is referencing the schema files in the old location. The files have all moved to ManageIQ/manageiq-schema.

This causes initial_migration to return nil and missing_file_migrations to raise an error resulting in the follow warn message in the logs:

[----] W, [2017-12-14T16:01:24.073145 #6812:3ff30c83f7cc] WARN -- : MIQ(MiqServer.check_migrations_up_to_date) comparison of Integer with nil failed

Version-Release number of selected component (if applicable):
5.9

Steps to Reproduce:
Server startup caused this

Actual results:
Method failed to check that migrations were up to date

Expected results:
Checking that migrations are up to date works

Comment 2 Dave Johnson 2018-03-07 22:46:37 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 6 Md Nadeem 2019-01-28 08:59:42 UTC
Verified in cfme version 5.10.0.32


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