Bug 1635126 - Internal server error 500 when accessing Host detail page
Summary: Internal server error 500 when accessing Host detail page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Andrey
QA Contact: Omri Hochman
Red Hat CloudForms Documentation
URL:
Whiteboard:
: 1636120 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-02 07:49 UTC by Radim Hrazdil
Modified: 2019-02-12 16:50 UTC (History)
9 users (show)

Fixed In Version: 5.10.0.20
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-12 16:50:46 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs and screenshot (989.62 KB, application/x-gzip)
2018-10-02 07:49 UTC, Radim Hrazdil
no flags Details

Description Radim Hrazdil 2018-10-02 07:49:48 UTC
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:

Comment 5 Harpreet Kataria 2018-10-08 13:41:39 UTC
*** Bug 1636120 has been marked as a duplicate of this bug. ***

Comment 6 CFME Bot 2018-10-11 14:29:31 UTC
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(-)

Comment 7 CFME Bot 2018-10-11 14:30:16 UTC
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(-)

Comment 8 Jad Haj Yahya 2018-11-15 08:23:28 UTC
Verified on 5.10.0.23


Note You need to log in before you can comment on or make changes to this bug.