Bug 1688937

Summary: proxy timeout loading list of services post update
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Keenan Brock <kbrock>
Status: CLOSED ERRATA QA Contact: Jaroslav Henner <jhenner>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.0CC: abellott, dmetzger, fdewaley, jprause, jrafanie, kbrock, mshriver, nlamuro, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1686433 Environment:
Last Closed: 2019-04-23 07:46:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1686433    
Bug Blocks:    

Comment 2 CFME Bot 2019-03-14 18:52:16 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/c249bc767a2a4249d4804184b095abe3633c9e94
commit c249bc767a2a4249d4804184b095abe3633c9e94
Author:     Martin Hradil <himdel>
AuthorDate: Thu Mar 14 13:39:45 2019 -0400
Commit:     Martin Hradil <himdel>
CommitDate: Thu Mar 14 13:39:45 2019 -0400

    Merge pull request #5335 from skateman/hide-services-tree

    Hide services from the Services tree as its redundant and slow

    (cherry picked from commit 56e4857d624fb0d957775d177443fd7676cef46f)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1688937

 app/presenters/tree_builder_services.rb | 17 +-
 spec/presenters/tree_builder_services_spec.rb | 15 -
 2 files changed, 4 insertions(+), 28 deletions(-)

Comment 3 Satoe Imaishi 2019-03-14 20:13:43 UTC
Also need: https://github.com/ManageIQ/manageiq-ui-classic/pull/5343

Comment 10 CFME Bot 2019-03-29 16:21:08 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/a688d0f993620553d633d59bc3e9983e1708adb3
commit a688d0f993620553d633d59bc3e9983e1708adb3
Author:     Jason Frey <fryguy9>
AuthorDate: Fri Mar 22 13:24:24 2019 -0400
Commit:     Jason Frey <fryguy9>
CommitDate: Fri Mar 22 13:24:24 2019 -0400

    Merge pull request #18543 from kbrock/rbac_virtual_attributes

    Rbac virtual attributes

    (cherry picked from commit 3dfb0b05be6645a67ebabc213bd544e0482834da)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1688937

 app/models/miq_report/generator.rb | 1 +
 app/models/miq_report/search.rb | 1 +
 lib/rbac/filterer.rb | 46 +-
 spec/lib/rbac/filterer_spec.rb | 71 +
 4 files changed, 118 insertions(+), 1 deletion(-)

Comment 11 Jaroslav Henner 2019-04-08 12:02:25 UTC
I couldn't reproduce the problem yet. I tried only one instance and 5000 services. The loading time was less then half minute.

I noticed that in the cfme 5.10.3.0 the tree view doesn't display the individual services, but behaviour of cfme 5.9.6.5 and 5.10.0.33 are the same in this regards... they both display the tree with individual services.

Comment 12 Jaroslav Henner 2019-04-08 23:20:21 UTC
I tried 58750 services (with display attribute set to True) on  Version 5.10.0.33.20190129203322_85a1e4e)and many more with display set to False) and I got the page loaded in <30s. So the problem must be something else than just the count of services displayed.

Comment 14 Jaroslav Henner 2019-04-09 08:46:54 UTC
OK, I know how to reproduce it partially. With 58750 services on all-in-one deployment with version 5.10.0.33, loading the page takes 3 minutes. After update to 5.10.3.0-1 doing the same takes seconds.

What I did the former wrong when trying to reproduce with 58750 services was that I may have just clicked there and back in the tree view. It didn't cause the whole tree view on left of the screen reload. But doing F5 for refresh of the services display page did the trick.

I didn't experience the error message though. I think it is because I didn't use the distributed environment, but I think I can make this verified.

Comment 15 Keenan Brock 2019-04-09 21:02:07 UTC
thanks for your help Jaroslav

Comment 17 errata-xmlrpc 2019-04-23 07:46:21 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://access.redhat.com/errata/RHSA-2019:0796