Bug 1482672

Summary: Workers processing a miq_queue message that exceed the memory threshold aren't given enough time to exit gracefully
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Joe Rafaniello <jrafanie>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: abellott, jhardy, jrafanie, obarenbo, simaishi, tpapaioa
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1481800 Environment:
Last Closed: 2017-12-18 20:29:09 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: 1481800    
Bug Blocks:    

Comment 2 CFME Bot 2017-08-17 21:06:27 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/e893a4e22cfbdcd18bcd2c397954cbc027310b21

commit e893a4e22cfbdcd18bcd2c397954cbc027310b21
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Thu Aug 17 09:43:02 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Aug 17 17:02:10 2017 -0400

    Merge pull request #15529 from jrafanie/give_active_queue_worker_time_to_complete_message
    
    Give active queue worker time to complete message
    (cherry picked from commit 09d2aaec085ab1d58512a36ca1c68f5cc1e3da7c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1482672

 app/models/miq_worker.rb       |  2 +-
 lib/tasks/evm_application.rb   |  2 +-
 spec/models/miq_worker_spec.rb | 14 ++++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

Comment 3 Tasos Papaioannou 2017-09-20 20:31:45 UTC
Verified on 5.7.4.0.

Comment 6 errata-xmlrpc 2017-12-18 20:29:09 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-2017:3484