| Summary: | DB migration fail from 5.5 - 5.6 with openstack provider | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | luke couzens <lcouzens> |
| Component: | Appliance | Assignee: | Ladislav Smola <lsmola> |
| Status: | CLOSED ERRATA | QA Contact: | luke couzens <lcouzens> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.6.0 | CC: | abellott, cpelland, dajohnso, gblomqui, jhardy, lcouzens, obarenbo, simaishi |
| Target Milestone: | Beta 2 | ||
| Target Release: | 5.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | update:migration:openstack | ||
| Fixed In Version: | 5.6.0.5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-29 15:52: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: | |
|
Description
luke couzens
2016-04-21 09:37:34 UTC
Ladas, can you look at this migration? It's failing on an upgrade. The field that is missing was added in migration AddParentEmsIdToExtManagementSystem . Has this one succeeded? New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/fd2430f1aff2520778ca4e92d8782e01a2f7b8bb commit fd2430f1aff2520778ca4e92d8782e01a2f7b8bb Author: Ladislav Smola <lsmola> AuthorDate: Mon Apr 25 11:33:28 2016 +0200 Commit: Ladislav Smola <lsmola> CommitDate: Mon Apr 25 13:07:04 2016 +0200 Production migration fail due to cached schema for model Production migration fails due to cached schema for model. Model contains old schema, so the field parent_ems_id, that we created couple of migrations back, will not be in the model ExtManagementSystem and it will fail on create!. Seems like this appears only on production env, where the schema is not reloaded. Also this occurs only when we do e.g. upgrade, so when migration has some data, before we continue with other migrations. This migration is data migration touching OpenStack. Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1329137 ...1_separate_openstack_network_manager_from_openstack_cloud_manager.rb | 2 ++ 1 file changed, 2 insertions(+) verified in 5.6.0.5-beta2.4 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/RHBA-2016:1348 |