Bug 1395376
Summary: | Host Summary for VMs report failing | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Yuri Rudman <yrudman> | ||||
Component: | Reporting | Assignee: | Yuri Rudman <yrudman> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Satyajit Bulage <sbulage> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.7.0 | CC: | gtanzill, jhardy, obarenbo, sbulage, simaishi, yrudman | ||||
Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||
Target Release: | 5.8.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | report | ||||||
Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1412396 (view as bug list) | Environment: | |||||
Last Closed: | 2017-06-12 17:53:44 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: | 1412396 | ||||||
Attachments: |
|
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. There are 2 issue discovered: 1. OS VMware ESXi was not listed as known operating system and image name representing VMware ESXi was not defined. PR to fix above: https://github.com/ManageIQ/manageiq/pull/13249 2. Issue with RelationshipMixin.rb New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/ad5f72334d7aa3619a932b895fd1e93d10261a9d commit ad5f72334d7aa3619a932b895fd1e93d10261a9d Author: Keenan Brock <kbrock> AuthorDate: Mon Dec 19 13:45:40 2016 -0500 Commit: Keenan Brock <kbrock> CommitDate: Mon Dec 19 14:54:47 2016 -0500 Fix bug where cached parent_rel_ids blew up relationships returns an array or an association. This supports a cached relationships https://bugzilla.redhat.com/show_bug.cgi?id=1395376 app/models/mixins/relationship_mixin.rb | 8 +++++++- spec/models/mixins/relationship_mixin_spec.rb | 26 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) Added euwe/yes to https://github.com/ManageIQ/manageiq/pull/13249 "Host Summary for VMs" report generated without any error. Verified Version: 5.8.0.4.20170307183144_745a3d9 |
Created attachment 1220954 [details] Screenshot - Host Summary for VMs report error Description of problem: Error when generating Host Summary for VMs report Version-Release number of selected component (if applicable): 5.7 How reproducible: always Steps to Reproduce: Navigate to Cloud Intel->Reports->Configuration Managment-Hosts and queue 'Host Summary for VMs' report Actual results: error Additional info: in evm.log: [----] E, [2016-11-15T15:11:33.895183 #1543:3fd09905e200] ERROR -- : [NoMethodError]: undefined method `where' for []:Array Method:[rescue in _async_generate_table] [----] E, [2016-11-15T15:11:33.895394 #1543:3fd09905e200] ERROR -- : /Users/yrudman/work/rh/manageiq/app/models/mixins/relationship_mixin.rb:117:in `parent_rel_ids' /Users/yrudman/.gem/ruby/2.2.4/gems/memoist-0.14.0/lib/memoist.rb:165:in `parent_rel_ids' /Users/yrudman/work/rh/manageiq/app/models/mixins/relationship_mixin.rb:123:in `parent_rels' /Users/yrudman/.gem/ruby/2.2.4/gems/memoist-0.14.0/lib/memoist.rb:209:in `parent_rels' /Users/yrudman/work/rh/manageiq/app/models/mixins/relationship_mixin.rb:151:in `parent' /Users/yrudman/work/rh/manageiq/app/models/vm_or_template.rb:489:in `block in genealogy_parent' /Users/yrudman/work/rh/manageiq/app/models/mixins/relationship_mixin.rb:84:in `with_relationship_type' /Users/yrudman/work/rh/manageiq/app/models/vm_or_template.rb:489:in `genealogy_parent' /Users/yrudman/work/rh/manageiq/app/models/vm_or_template.rb:505:in `os_image_name' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:660:in `block in build_get_attributes_with_options' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:656:in `each' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:656:in `build_get_attributes_with_options' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:644:in `build_reportable_data' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:720:in `block (3 levels) in build_add_includes' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:718:in `each' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:718:in `block (2 levels) in build_add_includes' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:714:in `each' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:714:in `block in build_add_includes' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:673:in `each' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:673:in `build_add_includes' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:645:in `build_reportable_data' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:373:in `block in build_table' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:372:in `collect' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:372:in `build_table' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:293:in `_generate_table' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:172:in `block in generate_table' /Users/yrudman/work/rh/manageiq/app/models/user.rb:232:in `with_user' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator.rb:172:in `generate_table' /Users/yrudman/work/rh/manageiq/app/models/miq_report/generator/async.rb:96:in `_async_generate_table'