Bug 1830305

Summary: Provisioning an AWS instance fails with InvalidInstanceIDNotFound
Product: Red Hat CloudForms Management Engine Reporter: Adam Grare <agrare>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED ERRATA QA Contact: Parthvi Vala <pvala>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.6CC: dmetzger, jfrey, obarenbo, pvala, simaishi, xlecauch
Target Milestone: GAFlags: pm-rhel: cfme-5.11.z+
Target Release: 5.11.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.6.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-10 13:39:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Adam Grare 2020-05-01 14:43:01 UTC
Description of problem:
Provisioning an AWS instance occasionally fails with the following error:
MIQ(ManageIQ::Providers::Amazon::CloudManager::Provision#provision_error) [[Aws::EC2::Errors::InvalidInstanceIDNotFound]: The instance ID 'i-xxxxxxxxxxxx' does not exist] encountered during phase [poll_clone_complete]

Comment 2 Adam Grare 2020-05-01 14:43:19 UTC
https://github.com/ManageIQ/manageiq/pull/20122

Comment 4 CFME Bot 2020-05-01 19:00:34 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/jansa:

https://github.com/ManageIQ/manageiq-providers-amazon/commit/0ef7a2c2611723eab527ebf04fad3747f0168beb
commit 0ef7a2c2611723eab527ebf04fad3747f0168beb
Author:     Adam Grare <agrare>
AuthorDate: Fri Mar  6 18:14:32 2020 +0000
Commit:     Adam Grare <agrare>
CommitDate: Fri Mar  6 18:14:32 2020 +0000

    Merge pull request #604 from A-Beck/check-instance-existance-before-getting-status

    Check instance exists before getting status during provisioning

    (cherry picked from commit 262d51c7ce5d41e061960618b816255bf5282e8b)

    https://bugzilla.redhat.com/show_bug.cgi?id=1830305

 app/models/manageiq/providers/amazon/cloud_manager/provision/cloning.rb | 4 +-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comment 5 CFME Bot 2020-05-01 21:15:30 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/ivanchuk:

https://github.com/ManageIQ/manageiq-providers-amazon/commit/3ddfa00cddfa93722d33801fc7c80bfd433ffb4d
commit 3ddfa00cddfa93722d33801fc7c80bfd433ffb4d
Author:     Adam Grare <agrare>
AuthorDate: Fri Mar  6 18:14:32 2020 +0000
Commit:     Adam Grare <agrare>
CommitDate: Fri Mar  6 18:14:32 2020 +0000

    Merge pull request #604 from A-Beck/check-instance-existance-before-getting-status

    Check instance exists before getting status during provisioning

    (cherry picked from commit 262d51c7ce5d41e061960618b816255bf5282e8b)

    https://bugzilla.redhat.com/show_bug.cgi?id=1830305

 app/models/manageiq/providers/amazon/cloud_manager/provision/cloning.rb | 4 +-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comment 7 Parthvi Vala 2020-06-01 10:58:52 UTC
FIXED. Verified on 5.11.6.0.20200526234234_3fcafeb.
Was able to provision the AWS instance without any error.

Comment 10 errata-xmlrpc 2020-06-10 13:39:11 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-2020:2480