Bug 1559609

Summary: Amazon agent deployment has to choose the VPC which has attached gateway configuration
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: SmartState AnalysisAssignee: Hui Song <hsong>
Status: CLOSED ERRATA QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: akarol, cpelland, gblomqui, hsong, obarenbo, roliveri
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1557377 Environment:
Last Closed: 2018-05-07 20:47:05 UTC 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: 1557377    
Bug Blocks:    

Comment 2 CFME Bot 2018-03-22 21:21:44 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-amazon/commit/431b61aa9a1df03234e45f924c5ba91e7497682b
commit 431b61aa9a1df03234e45f924c5ba91e7497682b
Author:     Richard Oliveri <oliveri.richard.github>
AuthorDate: Wed Mar 21 14:33:00 2018 -0400
Commit:     Richard Oliveri <oliveri.richard.github>
CommitDate: Wed Mar 21 14:33:00 2018 -0400

    Merge pull request #424 from hsong-rh/check_vpc_gateway

    Fixes VPC selection to make sure it has internet gateway attached.
    (cherry picked from commit 0f4f60b92327d9c5fa819518b5fd934035c29ac8)

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

 app/models/manageiq/providers/amazon/agent_coordinator.rb | 31 +-
 1 file changed, 27 insertions(+), 4 deletions(-)

Comment 3 Satyajit Bulage 2018-04-27 18:55:51 UTC
I have created 2 VPC's one is having gateway attached to it and another is not having it. Later perform SSA and observed that smartstate agent got deployed on VPC which has gateway attached.

Verified Version: 5.9.2.3.20180419182310_cab2891

Comment 6 errata-xmlrpc 2018-05-07 20:47:05 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-2018:1328