Bug 1554049
Summary: | Not able to scan instances in AWS | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | ldomb | |
Component: | SmartState Analysis | Assignee: | Hui Song <hsong> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Satyajit Bulage <sbulage> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 5.9.0 | CC: | akarol, cpelland, kmorey, obarenbo, roliveri | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1558040 (view as bug list) | Environment: | ||
Last Closed: | 2019-02-11 14:01:46 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 1558040 |
Description
ldomb
2018-03-11 00:48:03 UTC
Based on the Amazon documents (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#launch-instance-with-role-console), I'll add a retry logic to solve this issue. -------- After you've created an IAM role, you can launch an instance, and associate that role with the instance during launch. Important After you create an IAM role, it may take several seconds for the permissions to propagate. If your first attempt to launch an instance with a role fails, wait a few seconds before trying again. For more information, see Troubleshooting Working with Roles in the IAM User Guide. ------- New commit detected on ManageIQ/manageiq-providers-amazon/master: https://github.com/ManageIQ/manageiq-providers-amazon/commit/b6e1528a4c78bdeda0034500b747d5f0b65eed7b commit b6e1528a4c78bdeda0034500b747d5f0b65eed7b Author: hsong-rh <hsong> AuthorDate: Thu Mar 15 10:27:20 2018 -0400 Commit: hsong-rh <hsong> CommitDate: Thu Mar 15 10:27:20 2018 -0400 Fixes to add a retry logic in instance creation when IAM role is not available immediately https://bugzilla.redhat.com/show_bug.cgi?id=1554049 app/models/manageiq/providers/amazon/agent_coordinator.rb | 57 +- 1 file changed, 40 insertions(+), 17 deletions(-) Successfully performed SSA on EC2 instances 3-4 times, removed docker instance during each scan. Verified Version: 5.10.0.20.20181016163900_fe677b4 |