Bug 1531299

Summary: Smartstate request taking too long is killed because Worker Monitoring Code incorrectly thinks the busy Smartproxy Worker is not responding
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: SmartState AnalysisAssignee: Nobody <nobody>
Status: ON_QA --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: jhardy
Target Milestone: GA   
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.16 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1519538 Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1519538    
Bug Blocks:    

Comment 2 CFME Bot 2018-01-04 23:05:58 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:
https://github.com/ManageIQ/manageiq/commit/77f897bd62cc30b89e31c7c0dddad882fd0a104f

commit 77f897bd62cc30b89e31c7c0dddad882fd0a104f
Author:     Richard Oliveri <oliveri.richard.github>
AuthorDate: Thu Jan 4 16:43:31 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jan 4 18:03:48 2018 -0500

    Merge pull request #16685 from jerryk55/smart_proxy_heartbeat_thread
    
    Add Heartbeat Thread to SmartProxy Worker
    (cherry picked from commit a34f5e00f80da4e1fbfad17a5f7607b236a97c7d)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1531299

 app/models/miq_smart_proxy_worker/runner.rb | 70 +++++++++++++++++++++++++++++
 config/settings.yml                         |  1 +
 2 files changed, 71 insertions(+)

Comment 3 Satyajit Bulage 2018-02-16 15:06:18 UTC
Performed SSA on instance having location different from resource group, scans perfectly.