Bug 1767747
| Summary: | C&U collection for VMWare shows error `undefined method `+' for nil:NilClass Method:[block in method_missing]` | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Khushbu Borole <kborole> | |
| Component: | C&U Capacity and Utilization | Assignee: | Adam Grare <agrare> | |
| Status: | CLOSED NOTABUG | QA Contact: | Nandini Chandra <nachandr> | |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | |
| Priority: | high | |||
| Version: | 5.9.7 | CC: | agrare, dmetzger, nansari, niroy, obarenbo | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.12.0 | Flags: | mfeifer:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1785374 (view as bug list) | Environment: | ||
| Last Closed: | 2020-06-10 12:57:02 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Bug | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | VMware | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1785374 | |||
|
Description
Khushbu Borole
2019-11-01 10:20:27 UTC
This is another symptom of having the Nuage provider there. Harder to fix because the rollup from miq_enterprise -> miq_regions -> ext_management_systems doesn't support checking for infra_manager or cloud_manager and we assume that 'hosts' is able to be called on any EMS. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/c475153112c9325abe123967e6be31d2c9646946 commit c475153112c9325abe123967e6be31d2c9646946 Author: Adam Grare <agrare> AuthorDate: Tue Nov 5 10:38:31 2019 -0500 Commit: Adam Grare <agrare> CommitDate: Tue Nov 5 10:38:31 2019 -0500 Return empty array for delegation with nil manager If a NetworkManager doesn't have a parent_manager (e.g. Nuage) return an empty array instead of a nil Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1767747 app/models/manageiq/providers/network_manager.rb | 74 +- spec/models/manageiq/providers/network_manager_spec.rb | 37 +- 2 files changed, 59 insertions(+), 52 deletions(-) |