Bug 1339518
Summary: | Accessing the 'indirect_service_children' and 'indirect_vms' associations of an MiqAeServiceService object raise Ancestry::AncestryException | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Peter McGowan <pmcgowan> |
Component: | Automate | Assignee: | Keenan Brock <kbrock> |
Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.6.0 | CC: | cpelland, jhardy, kbrock, mfalesni, mfeifer, mkanoor, obarenbo, pmcgowan, simaishi, tfitzger |
Target Milestone: | GA | ||
Target Release: | 5.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.6.0.9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-29 16:05:36 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: |
Description
Peter McGowan
2016-05-25 08:51:00 UTC
Peter, I'm working on a fix right now. Curiously, is there a reason you are not using vms? if you are doing direct_vms + indirect_vms, then using vms will be much more performant. Hi Keenan I found the errors though running object_walker on a service (it walks all service model object associations and optionally prints their details). I just thought I'd better report it as a BZ. Peter New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/b12110608d338e47ecaf3aa3264af415a6a01a66 commit b12110608d338e47ecaf3aa3264af415a6a01a66 Author: Keenan Brock <kbrock> AuthorDate: Wed May 25 12:26:11 2016 -0400 Commit: Keenan Brock <kbrock> CommitDate: Wed May 25 13:07:36 2016 -0400 fix service.indirect_vms indirect_service_children https://bugzilla.redhat.com/show_bug.cgi?id=1339518 app/models/service.rb | 2 +- spec/models/service_spec.rb | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) Verified in 5.6.0.9 irb(main):016:0> srv.indirect_service_children => [] irb(main):017:0> srv.indirect_vms => [] 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 |