Bug 1552911

Summary: Error while checking that migrations are up to date
Product: Red Hat CloudForms Management Engine Reporter: Brandon Dunne <bdunne>
Component: ApplianceAssignee: Brandon Dunne <bdunne>
Status: CLOSED CURRENTRELEASE QA Contact: Md Nadeem <mnadeem>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: abellott, bdunne, cpelland, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1553397 (view as bug list) Environment:
Last Closed: 2019-02-11 14:03:29 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:    
Bug Blocks: 1553397    

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