Bug 1301123
Summary: | objects copied from a previous deleted domain try to refer to the deleted domain when used | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Felix Dewaleyne <fdewaley> | |
Component: | Automate | Assignee: | William Fitzgerald <wfitzger> | |
Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 5.4.0 | CC: | cpelland, dajohnso, fdewaley, gmccullo, jhardy, jprause, mfeifer, mkanoor, obarenbo, tfitzger | |
Target Milestone: | GA | Keywords: | ZStream | |
Target Release: | 5.6.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1303086 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-29 15:32:30 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: | 1303086 |
Description
Felix Dewaleyne
2016-01-22 16:28:38 UTC
We had provided a small snippet of code to the customer to be run from the the rails console to clear out the old inherits value. It is logged in this ticket https://bugzilla.redhat.com/show_bug.cgi?id=1280017 -------------- We would have to clear out the inherits column from the miq_ae_class from the rails console using MiqAeClass.where("inherits IS NOT NULL").each { |c| c.update_attributes(:inherits => nil) } ------------- Update to the suggested query: MiqAeClass.where("inherits IS NOT NULL").update_all(:inherits => nil) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/f0c44ebb3012845546353860d4fad23aaf654015 commit f0c44ebb3012845546353860d4fad23aaf654015 Author: Bill Fitzgerald <wfitzger> AuthorDate: Tue Feb 23 12:10:03 2016 -0500 Commit: Bill Fitzgerald <wfitzger> CommitDate: Thu Feb 25 17:05:15 2016 -0500 Automate - fix inherits problem. Modified test. https://bugzilla.redhat.com/show_bug.cgi?id=1301123 Removed inheritance test from miq_ae_engine_spec. lib/miq_automation_engine/engine/miq_ae_object.rb | 2 +- .../miq_automation_engine/miq_ae_engine_spec.rb | 28 ---------------------- .../miq_automation_engine/miq_ae_object_spec.rb | 11 +++++++++ 3 files changed, 12 insertions(+), 29 deletions(-) Verified in 5.6.0.6-beta2.5 using steps from https://bugzilla.redhat.com/show_bug.cgi?id=1303086#c8 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 |