Bug 1635126
| Summary: | Internal server error 500 when accessing Host detail page | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Radim Hrazdil <rhrazdil> | ||||
| Component: | UI - OPS | Assignee: | Andrey <aveselov> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Omri Hochman <ohochman> | ||||
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | ||||
| Priority: | high | ||||||
| Version: | 5.10.0 | CC: | dmetzger, hkataria, izapolsk, jhajyahy, lavenel, maufart, mpovolny, obarenbo, simaishi | ||||
| Target Milestone: | GA | Keywords: | AutomationBlocker, Regression | ||||
| Target Release: | 5.10.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.10.0.20 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-02-12 16:50:46 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | Openstack | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
*** Bug 1636120 has been marked as a duplicate of this bug. *** New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/86cc42f191162ac42b93b11c8ad6f1fead196ca5 commit 86cc42f191162ac42b93b11c8ad6f1fead196ca5 Author: Andrei Veselov <aveselov> AuthorDate: Fri Oct 5 09:29:17 2018 -0400 Commit: Andrei Veselov <aveselov> CommitDate: Fri Oct 5 09:29:17 2018 -0400 Add validation for cloud_networks and subnets Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1635126 app/helpers/host_helper/textual_summary.rb | 7 +- 1 file changed, 5 insertions(+), 2 deletions(-) New commit detected on ManageIQ/manageiq-ui-classic/hammer: https://github.com/ManageIQ/manageiq-ui-classic/commit/c4d2baf72ee3a9825e925be5fa1de90cbc9e9d2f commit c4d2baf72ee3a9825e925be5fa1de90cbc9e9d2f Author: Milan Zázrivec <mzazrivec> AuthorDate: Mon Oct 8 04:41:12 2018 -0400 Commit: Milan Zázrivec <mzazrivec> CommitDate: Mon Oct 8 04:41:12 2018 -0400 Merge pull request #4736 from andyvesel/validation_for_cloud_networks_subnets Add validation for cloud_networks and subnets (cherry picked from commit 737c42f60e647323278a81cb975caeb3ddea209f) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1635126 app/helpers/host_helper/textual_summary.rb | 7 +- 1 file changed, 5 insertions(+), 2 deletions(-) Verified on 5.10.0.23 |
Created attachment 1489311 [details] logs and screenshot Description of problem: When accessing Host detail page, 'Unexpected error encountered' is displayed. Production log contains the following: ... [----] F, [2018-10-02T03:38:36.581003 #11818:3d4c9a4] FATAL -- : Error caught: [ActionView::Template::Error] undefined method `cloud_networks' for #<ManageIQ::Providers::Redhat::InfraManager::Host:0x00000000158b0820> Did you mean? cloud_services ... [----] I, [2018-10-02T03:38:36.609292 #11818:3d4c9a4] INFO -- : Completed 500 Internal Server Error in 216ms (Views: 26.9ms | ActiveRecord: 13.7ms) ... See attached full logs and screenshot. Version-Release number of selected component (if applicable): Version 5.10.0.17.20180927011235_1b5cf54 RHV 4.2.7.1-0.1.el7ev How reproducible: 100 Steps to Reproduce: 1. Add a Provider with some hosts 2. Go to Compute -> Infrastructure -> Hosts 3. Click on any host Actual results: Unexpected error encountered Expected results: Additional info: