Bug 1399345

Summary: Selecting a Group Causes UI to Spin Indefinitely
Product: Red Hat CloudForms Management Engine Reporter: Jared Deubel <jdeubel>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: akarol, cpelland, hkataria, jdeubel, jhardy, jocarter, kbrock, mhradil, mpovolny, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1412206 1412441 (view as bug list) Environment:
Last Closed: 2017-06-12 16:32:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1412206, 1412441    
Attachments:
Description Flags
production.log
none
production.log
none
group_issue_logs.zip none

Description Jared Deubel 2016-11-28 19:45:00 UTC
Created attachment 1225458 [details]
production.log

Description of problem:
Under the access control tab, if I click on a group, the screen will turn grey and the spinning animation will begin, but it will continue indefinitely. This only occurs on our master region.

There isn't any indication in the production.log that shows any error or the reason for the delay


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

How reproducible:
100%

Comment 14 Jared Deubel 2016-12-19 17:16:56 UTC
Created attachment 1233446 [details]
production.log

Production.log

Comment 15 Jared Deubel 2016-12-19 17:17:24 UTC
Created attachment 1233447 [details]
group_issue_logs.zip

Comment 22 Keenan Brock 2017-01-03 15:38:52 UTC
This is slow due to building the trees.
And there is one per tab, for a total of 3.
On master, this was moved over to a tree builder, which is much better.

Only running one of these would improve the speed of this page greatly.
(Users will probably complain that each tab would take 20+ seconds.)

Comment 25 CFME Bot 2017-01-04 16:02:51 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/0a4598af11e97af15477cd5fac870294b2584da8

commit 0a4598af11e97af15477cd5fac870294b2584da8
Author:     Keenan Brock <keenan>
AuthorDate: Tue Jan 3 19:19:37 2017 -0500
Commit:     Keenan Brock <keenan>
CommitDate: Tue Jan 3 19:21:45 2017 -0500

    Don't lookup category names if tag tree view all
    
    This was executing a few hundred extra queries
    
    category.name is the culprit
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1399345

 app/presenters/tree_builder_tags.rb | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Comment 32 CFME Bot 2017-01-11 14:35:49 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/c6fb39b9e5b376cad9336e51e931112e4a416195

commit c6fb39b9e5b376cad9336e51e931112e4a416195
Author:     Keenan Brock <kbrock>
AuthorDate: Wed Dec 21 14:21:14 2016 -0500
Commit:     Keenan Brock <kbrock>
CommitDate: Sat Jan 7 18:35:33 2017 -0500

    Don't lookup category names if tag tree view all
    
    This was executing a few hundred extra queries
    
    category.name is the culprit
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1399345

 app/presenters/tree_builder_tags.rb | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

Comment 34 Matouš Mojžíš 2017-05-02 11:27:25 UTC
Verified in 5.8.0.12. Only visible tab in groups is rendered.

Comment 35 Matouš Mojžíš 2018-03-15 09:24:10 UTC
This is one time issue so setting qe_test_coverage flag to -.