Bug 1512676

Summary: AWS: SSA on ec-2 instance not completes and throws message in tasks "job timed out after 3053.942523145 seconds of inactivity. Inactivity threshold [3000 seconds]"
Product: Red Hat CloudForms Management Engine Reporter: Satyajit Bulage <sbulage>
Component: SmartState AnalysisAssignee: Hui Song <hsong>
Status: CLOSED CURRENTRELEASE QA Contact: Satyajit Bulage <sbulage>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: jhardy, obarenbo, roliveri
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: smartstate:ec2:instance
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1514192 (view as bug list) Environment:
Last Closed: 2018-06-21 20:28:53 UTC Type: Bug
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:    
Bug Blocks: 1514192    

Description Satyajit Bulage 2017-11-13 20:06:54 UTC
Created attachment 1351674 [details]
evm.log during SSA on Instance

Description of problem: After initializing SSA on ec-2 instance throws error "[----] E, [2017-11-13T12:08:53.781654 #15367:1287138] ERROR -- : MIQ(ManageIQ::Providers::Amazon::AgentCoordinator#startup_agent) No agent is set up to process requests: undefined method `empty?' for nil:NilClass" in evm.log and Message "job timed out after 3053.942523145 seconds of inactivity. Inactivity threshold [3000 seconds]" in UI.


Version-Release number of selected component (if applicable):5.9.0.8.20171109215303_ed87902


How reproducible:100%


Steps to Reproduce:
1. Add ec-2 provider
2. Perform SSA on any of the instance.
3.

Actual results: Throwing error in evm.log and Job timeout message in Task.


Expected results: It should succeed without any error.


Additional info:

Comment 3 CFME Bot 2017-11-15 17:02:57 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/master:
https://github.com/ManageIQ/manageiq-providers-amazon/commit/70fc214b688dc3ba733840de65718b0cd54114b9

commit 70fc214b688dc3ba733840de65718b0cd54114b9
Author:     hsong-rh <hsong>
AuthorDate: Wed Nov 15 11:29:29 2017 -0500
Commit:     hsong-rh <hsong>
CommitDate: Wed Nov 15 11:29:29 2017 -0500

    Fix no security group exists at the first time
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1512676

 app/models/manageiq/providers/amazon/agent_coordinator.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)