Bug 1360911

Summary: UI: Group editor/summary screen throwing an error when user has more than 5000 tags
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: akrzos, cpelland, hkataria, jhardy, jprause, mmojzis, mpovolny, obarenbo, pmcgowan, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: tag
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1361189 (view as bug list) Environment:
Last Closed: 2017-01-11 19:52:59 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1361189    

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.