Bug 1207641 - Proxy error on accessing "All VMs(Tree view)" in cluster summary page
Summary: Proxy error on accessing "All VMs(Tree view)" in cluster summary page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.0
Assignee: Martin Povolny
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-31 11:55 UTC by Aziza Karol
Modified: 2015-06-16 12:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:56:22 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proxy error (38.71 KB, image/png)
2015-03-31 11:55 UTC, Aziza Karol
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Aziza Karol 2015-03-31 11:55:33 UTC
Created attachment 1008988 [details]
proxy error

Description of problem:


Version-Release number of selected component (if applicable):
5.4.0.0.14.20150325124454_9e339f3 

How reproducible:
100%

Steps to Reproduce:
1.Navigate to infrastructure->Clusters
2.In  Cluster summary page click on "All VMs(Tree view)"
3.

Actual results:
Proxy error. see attached screenshot

Expected results:


Additional info:

Comment 3 Martin Povolny 2015-04-06 19:44:38 UTC
Confirming. The request gets the web worker into what seems to be an infinite loop consuming all CPU. Hence the proxy error + no error in the logs.

Comment 4 Martin Povolny 2015-04-08 14:17:02 UTC
proposed upstream fix

https://github.com/ManageIQ/manageiq/pull/2553

Comment 5 CFME Bot 2015-04-14 18:47:41 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/a8b844d1cfb587ed3e85ea9dbcee83c22e0aeaf8

commit a8b844d1cfb587ed3e85ea9dbcee83c22e0aeaf8
Author:     Martin Povolny <mpovolny>
AuthorDate: Wed Apr 8 08:31:52 2015 +0200
Commit:     Martin Povolny <mpovolny>
CommitDate: Wed Apr 8 08:31:52 2015 +0200

    Add missing routes for cluster tree view.
    
    Fixes part of
    https://bugzilla.redhat.com/show_bug.cgi?id=1207641

 vmdb/config/routes.rb | 2 ++
 1 file changed, 2 insertions(+)

Comment 6 CFME Bot 2015-04-14 18:47:44 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/8d77e88df01032de806de3074c4a343bd142456a

commit 8d77e88df01032de806de3074c4a343bd142456a
Author:     Martin Povolny <mpovolny>
AuthorDate: Wed Apr 8 14:08:26 2015 +0200
Commit:     Martin Povolny <mpovolny>
CommitDate: Wed Apr 8 14:08:26 2015 +0200

    Fix tree view calculation for infra clusters.
    
    * Call build_vm_host_array only when needed.
    * Replace cache :tree_hosts and :tree_vms with hashes for speed.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207641

 vmdb/app/controllers/application_controller.rb       | 20 ++++----------------
 .../application_controller/tree_support.rb           | 18 ++++++++++--------
 vmdb/app/controllers/ems_cluster_controller.rb       |  4 ++--
 vmdb/app/controllers/ems_common.rb                   |  5 +++--
 vmdb/app/controllers/resource_pool_controller.rb     |  6 +++---
 5 files changed, 22 insertions(+), 31 deletions(-)

Comment 8 Milan Falešník 2015-05-05 11:24:25 UTC
Verified in 5.4.0.0.24.20150427192818_1fd9e49, no proxy error.

Comment 10 errata-xmlrpc 2015-06-16 12:56:22 UTC
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://rhn.redhat.com/errata/RHBA-2015-1100.html


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