Bug 1360911 - UI: Group editor/summary screen throwing an error when user has more than 5000 tags
Summary: UI: Group editor/summary screen throwing an error when user has more than 500...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Harpreet Kataria
QA Contact: Matouš Mojžíš
URL:
Whiteboard: tag
: 1336844 1360190 (view as bug list)
Depends On:
Blocks: 1361189
TreeView+ depends on / blocked
 
Reported: 2016-07-27 19:58 UTC by Harpreet Kataria
Modified: 2019-12-16 06:12 UTC (History)
10 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1361189 (view as bug list)
Environment:
Last Closed: 2017-01-11 19:52:59 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Harpreet Kataria 2016-07-27 19:58:44 UTC
Description of problem:
Large amounts of Tags cause memcache slab exhaustion in UI causing follow up errors 

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


How reproducible:


Steps to Reproduce:
1. Details in the Github issue below.
2.
3.

Actual results:


Expected results:


Additional info:
https://github.com/ManageIQ/manageiq/issues/10074
Need to move trees on group summary and editor out of session.

Comment 4 CFME Bot 2016-07-28 20:45:49 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/1a46e3dd35b98db2416cb39dddef412e20b4704f

commit 1a46e3dd35b98db2416cb39dddef412e20b4704f
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Jul 27 16:02:33 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Jul 27 16:02:33 2016 -0400

    Moved trees on group summary and editor out of session hash
    
    Having trees in session was causing error when user had large amount of tags in theri environment. Moved all three trees on Group summary screen and editor to be stored in instance variables.
    
    Fixes #10074
    https://bugzilla.redhat.com/show_bug.cgi?id=1360911

 app/controllers/application_controller.rb   |  2 +-
 app/controllers/ops_controller/ops_rbac.rb  | 11 +++++------
 app/views/ops/_rbac_group_details.html.haml |  6 +++---
 3 files changed, 9 insertions(+), 10 deletions(-)

Comment 5 Martin Hradil 2016-08-01 18:25:17 UTC
*** Bug 1360190 has been marked as a duplicate of this bug. ***

Comment 6 Martin Hradil 2016-08-01 18:25:30 UTC
*** Bug 1336844 has been marked as a duplicate of this bug. ***

Comment 7 Matouš Mojžíš 2016-10-06 09:50:30 UTC
Verified in 5.7.0.3. No errors in logs and I can load a single group after importing more than 5000 tags.


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