Bug 1286120
Summary: | post 5.3 => 5.4.2 => 5.4.3.1 upgrade, it is possible to encounter issues interacting with openstack data present since 5.3 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Felix Dewaleyne <fdewaley> | ||||
Component: | Automate | Assignee: | Bill Wei <bilwei> | ||||
Status: | CLOSED ERRATA | QA Contact: | Jan Krocil <jkrocil> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.4.0 | CC: | cpelland, fdewaley, gblomqui, gmccullo, jdeubel, jfrey, jhardy, jprause, mfeifer, mkanoor, nachandr, obarenbo, psavage, ssainkar, tfitzger | ||||
Target Milestone: | GA | Keywords: | ZStream | ||||
Target Release: | 5.4.5 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | automate:upgrade:openstack | ||||||
Fixed In Version: | 5.4.5.2 | Doc Type: | Bug Fix | ||||
Doc Text: |
Deploying 5.4.3.1 appliances after an upgrade from CloudForms Management Engine 5.3, there were several issues raised against the upgraded db. The single-table inheritance mechanism failed to locate the subclass: 'OpenstackResourceQuota'. The error was raised because the column 'type' is reserved for storing the class in case of inheritance.
This patch adds service model MiqAeServiceCloudTenantOpenstack which has now resolved the issue.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-03-29 14:14:53 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: | |||||||
Attachments: |
|
Description
Felix Dewaleyne
2015-11-27 11:32:35 UTC
I have confirmation that the steps are completely reproducible : Steps to Reproduce: 1. install cfme 5.3 2. attach an openstack 6 env to it 3. upgrade the appliance to 5.4 following https://access.redhat.com/node/1435433 4. deploy more 5.4.3.1 appliances against the upgraded system Bill - The change from this PR needs to be backported to 5.4.z https://github.com/ManageIQ/manageiq/pull/5149. You originally did the work with Bug 1275405. Note: Since 5.4.z is before the pluggable provider rename the model name is MiqAeServiceCloudTenantOpenstack. Backported to 5.4.z commit 60749a6654a0fb805f832fca67e96fe18fab6ac8 Author: Bill Wei <bilwei> Date: Mon Nov 30 17:02:39 2015 -0500 Add service model MiqAeServiceCloudTenantOpenstack https://bugzilla.redhat.com/show_bug.cgi?id=1286120 Created attachment 1100953 [details]
hotfix attached
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=60749a6654a0fb805f832fca67e96fe18fab6ac8 commit 60749a6654a0fb805f832fca67e96fe18fab6ac8 Author: Bill Wei <bilwei> AuthorDate: Mon Nov 30 17:02:39 2015 -0500 Commit: Bill Wei <bilwei> CommitDate: Mon Nov 30 17:02:50 2015 -0500 Add service model MiqAeServiceCloudTenantOpenstack https://bugzilla.redhat.com/show_bug.cgi?id=1286120 .../service_models/miq_ae_service_cloud_tenant_openstack.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vmdb/lib/miq_automation_engine/service_models/miq_ae_service_cloud_tenant_openstack.rb New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=552e01b77c151e0f2ebae2ebbf9edfb2e3efee7a commit 552e01b77c151e0f2ebae2ebbf9edfb2e3efee7a Merge: c52a301 60749a6 Author: Greg McCullough <gmccullo> AuthorDate: Mon Nov 30 20:36:53 2015 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Mon Nov 30 20:36:53 2015 -0500 Merge branch '5.4.z_cloud_tenant_openstack' into '5.4.z' Add service model MiqAeServiceCloudTenantOpenstack Add service model MiqAeServiceCloudTenantOpenstack https://bugzilla.redhat.com/show_bug.cgi?id=1286120 Original PR: https://github.com/ManageIQ/manageiq/pull/5149 Since it is completely renamed, this commit is created new rather than a cherry pick. See merge request !563 .../service_models/miq_ae_service_cloud_tenant_openstack.rb | 4 ++++ 1 file changed, 4 insertions(+) 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://rhn.redhat.com/errata/RHBA-2016-0171.html |