Bug 1686902

Summary: Default worker memory settings in the WebUI are incorrect and do not match the actual configured memory settings
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.0CC: bmidwood, brant.evans, dmetzger, hkataria, lavenel, mpovolny, obarenbo, pmcgowan, smallamp, tpapaioa
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1658373 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: 1658373    
Bug Blocks:    

Comment 3 Tasos Papaioannou 2019-03-26 19:21:41 UTC
Testing on 5.10.1.2, there are still three workers that show 200 MB as the memory threshold on the Workers tab:

5.10.1.2:
                 Worker Count Threshold Correct?
       Generic Workers	2	500 MB	OK
 C & U Data Collectors	2	200 MB	WRONG
         Event Monitor		500 MB	OK
     Connection Broker		500 MB	OK
             UI Worker	1	[1 GB]	OK
     Reporting Workers	2	500 MB	OK
   Web Service Workers	1	  1 GB	OK
      Priority Workers	2	600 MB	OK
 C & U Data Processors	2	600 MB	OK
               Refresh		200 MB	WRONG
VM Analysis Collectors	2	200 MB	WRONG
     Websocket Workers	1	[1 GB]	OK

Compare to 5.10.1.0:

                 Worker Count Threshold Correct?
       Generic Workers	2	200 MB	WRONG
 C & U Data Collectors	2	200 MB	WRONG
         Event Monitor		500 MB	OK
     Connection Broker		500 MB	OK
             UI Worker	1	[1 GB]	OK
     Reporting Workers	2	200 MB	WRONG
   Web Service Workers	1	200 MB	WRONG
      Priority Workers	2	200 MB	WRONG
 C & U Data Processors	2	200 MB	WRONG
               Refresh		200 MB	WRONG
VM Analysis Collectors	2	200 MB	WRONG
     Websocket Workers	1	[1 GB]	OK

Comment 5 Sudhir Mallamprabhakara 2019-03-26 22:29:17 UTC
Fixed in 5.10.2.1 and not 5.10.1.2.. 

Tasos, Is that a typo in comment 3??

Comment 9 Tasos Papaioannou 2019-03-27 17:35:24 UTC
The issue is not about changing the settings. The BZ description is about the default worker memory threshold settings not displaying correctly on the Workers tab. The default thresholds for 'C & U Data Collectors', 'Refresh', and 'VM Analysis Collectors' all show as 200 MB, which is not correct.

Comment 10 CFME Bot 2019-03-29 18:28:04 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/1ca9689fbf26713721ac13a636f1e05af571f0d0
commit 1ca9689fbf26713721ac13a636f1e05af571f0d0
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Fri Mar 29 10:36:10 2019 -0400
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Fri Mar 29 10:36:10 2019 -0400

    Merge pull request #5394 from h-kataria/workers_default_settings_fixed

    Fixed display of default memory threshold correctly on new appliance

    (cherry picked from commit 4b913ce70afb0a070801f796e30606cd51bc86f3)

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

 app/controllers/ops_controller/settings/common.rb | 12 +-
 spec/controllers/ops_controller/settings/common_spec.rb | 8 +
 2 files changed, 14 insertions(+), 6 deletions(-)

Comment 11 Tasos Papaioannou 2019-04-03 18:29:40 UTC
Verified on 5.10.3.0.

Comment 13 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