Description of problem: When the AMI specified to run the Smartstate Analysis Engine on AWS is not available, there is no indication in the UI that a failure has occurred. The job will appear to be running until it times out after 50 minutes. There are basically two issues with this - 1) There should be an appropriate failure and error indicated in the UI. 2) The job that has been submitted on the AWS SQS queue should be removed. Version-Release number of selected component (if applicable): How reproducible: If the AMI specified in the production.yml file is not available, this will happen. Steps to Reproduce: 1. 2. 3. Actual results: Job times out. Expected results: An error is shown in the UI and the job is removed from SQS. Additional info:
The following PRs have been added to handle this issue: https://github.com/ManageIQ/manageiq-providers-amazon/pull/412 and https://github.com/ManageIQ/manageiq-providers-amazon/pull/411. THey should be backported to Gaprindashvili and Fine.
Able to see the error message, after replacing correct AMI with wrong AMI image. Verified Version: 5.10.0.22.20181030184024_26956a0