Bug 1799443
| Summary: | Change of memory threshold in Workers tab not reflected - only with CU Data Collectors and Refresh workers | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Pavel Šimovec <psimovec> | |
| Component: | UI - OPS | Assignee: | Zita Nemeckova <znemecko> | |
| Status: | CLOSED WONTFIX | QA Contact: | Pavel Šimovec <psimovec> | |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | |
| Priority: | high | |||
| Version: | 5.11.2 | CC: | bmidwood, dmetzger, hkataria, lavenel, mpovolny, obarenbo | |
| Target Milestone: | GA | Keywords: | Regression, TestOnly, ZStream | |
| Target Release: | 5.12.0 | Flags: | mfeifer:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1805845 (view as bug list) | Environment: | ||
| Last Closed: | 2020-10-29 17:23:16 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Bug | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | CFME Core | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1805845 | |||
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set the severity to Low. New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/e27a194038d5f2f53fe0c685d82e036f67c91e65 commit e27a194038d5f2f53fe0c685d82e036f67c91e65 Author: Zita Nemeckova <znemecko> AuthorDate: Thu Feb 13 14:40:43 2020 +0000 Commit: Zita Nemeckova <znemecko> CommitDate: Thu Feb 13 14:40:43 2020 +0000 Fix saving of ems_refresh_worker and ems_metrics_collector_worker Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1799443 app/javascript/components/workers-form/workers-form.jsx | 10 +- 1 file changed, 7 insertions(+), 3 deletions(-) There will not be a 5.12.0 release of CloudForms AND this issue has been addressed in the 5.11 Errata stream, therefore I'm closing this ticket. |
Description of problem: Memory threshold change of C&U Data Collectors/Refresh Workers in UI does not work. How reproducible: Always on 5.11.2 (5.11.2.2.20200130212511_3ed31dc) Steps to Reproduce: 1. Navigate to Configuration -> Settings -> (appliance) -> Workers 2. Change Refresh worker Memory threshold to 1.1 GB 3. Save the changes 4. Refresh the page Actual results: 1. 2. 3. 4. Refresh worker memory threshold is 2 GB (previous value) Expected results: 1. 2. 3. 4. Refresh worker memory threshold is 1.1 GB Additional info: Works in 5.10.14 (5.10.14.0.20200107223945_aa73a61) 1. 2. 3. 4. In AS (Advanced settings tab), names according to UI ones are: UI: C & U Data Collectors -> AS: ems_metrics_collector_worker UI: Refresh -> AS: ems_refresh_worker Action in UI created memory_threshold of ems_refresh_worker, but memory threshold in :defaults is used and displayed in UI anyways. In 5.10, change in UI changed the defaults memory_threshold value. Changing that :defaults:memory_threshold value manually in Advanced Settings triggers the expected change in UI. Snippet of Advanced Settings: :ems_refresh_worker: :ems_refresh_worker_amazon: {} :ems_refresh_worker_amazon_network: {} ... :defaults: :memory_threshold: 2.gigabytes <-- this should be changed :nice_delta: 7 :poll: 10.seconds :poll_method: :normal :queue_timeout: 120.minutes :dequeue_method: :sql ... :memory_threshold: 1.1.gigabytes <-- new created atribute (bug) This applies for C & U Data Processors and Refresh on Workers page only, changes of memory thresholds of other Workers work as expected.