Bug 1688937 - proxy timeout loading list of services post update
Summary: proxy timeout loading list of services post update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.10.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.10.3
Assignee: Keenan Brock
QA Contact: Jaroslav Henner
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1686433
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-14 18:11 UTC by Satoe Imaishi
Modified: 2022-07-09 10:28 UTC (History)
11 users (show)

Fixed In Version: 5.10.3.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1686433
Environment:
Last Closed: 2019-04-23 07:46:21 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1686433 0 high CLOSED proxy timeout loading list of services post update 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2019:0796 0 None None None 2019-04-23 07:46:26 UTC

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


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