Bug 1781202
| Summary: | MIQ(MiqServer#monitor) can't modify frozen Hash after UI worker restarts | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Gellert Kis <gekis> | |
| Component: | Appliance | Assignee: | Joe Rafaniello <jrafanie> | |
| Status: | CLOSED ERRATA | QA Contact: | Parthvi Vala <pvala> | |
| Severity: | urgent | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | |
| Priority: | urgent | |||
| Version: | 5.10.9 | CC: | abellott, dajohnso, dmetzger, duhlmann, jdeubel, jhardy, jrafanie, mshriver, obarenbo, rspagnol, simaishi, smallamp, tuado | |
| Target Milestone: | GA | Keywords: | ZStream | |
| Target Release: | 5.11.2 | Flags: | pm-rhel:
cfme-5.11.z+
dmetzger: mirror+ |
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.11.2.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1507131 | |||
| : | 1788289 (view as bug list) | Environment: |
5.10.9.1
|
|
| Last Closed: | 2020-02-12 05:02:24 UTC | Type: | --- | |
| 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: | 1507131 | |||
| Bug Blocks: | 1788289 | |||
|
Comment 4
Joe Rafaniello
2019-12-09 16:18:00 UTC
Based on the logging provided by the customer, we have been able to finally recreate this error and have a solution we're working on to fix it. The solution will not fix the underlying problems causing this error to occur: ui/web service worker exceeding memory/not responding but will no longer skip one iteration of the worker monitor loop with an ugly error. New commit detected on ManageIQ/manageiq/ivanchuk: https://github.com/ManageIQ/manageiq/commit/6ee115953abeb0c1f5f2da40de8b59d5cd5a7d40 commit 6ee115953abeb0c1f5f2da40de8b59d5cd5a7d40 Author: Joe Rafaniello <jrafanie> AuthorDate: Tue Dec 10 16:41:29 2019 -0500 Commit: Joe Rafaniello <jrafanie> CommitDate: Tue Dec 10 16:41:29 2019 -0500 Query current/starting miq_workers, bypassing cache/stale objects Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1781202 If the server deletes the row in the prior loop's call to this method because the worker exceeded memory, the subsequent call to post_message_for_workers could fail with "can't modify frozen Hash" when trying to update the worker's heartbeat. Incidentally fixed on master in commit: https://github.com/ManageIQ/manageiq/commit/e6cbfa8b4625147741919c723eacac540f056099 app/models/miq_server/worker_management/heartbeat.rb | 17 +- app/models/mixins/miq_web_server_worker_mixin.rb | 1 + spec/lib/workers/heartbeat_spec.rb | 22 + 3 files changed, 32 insertions(+), 8 deletions(-) FIXED. Verified on 5.11.2.0.20200113212029_18edbd8. 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/RHBA-2020:0452 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |