Bug 1557377

Summary: Amazon agent deployment has to choose the VPC which has attached gateway configuration
Product: Red Hat CloudForms Management Engine Reporter: Hui Song <hsong>
Component: SmartState AnalysisAssignee: Hui Song <hsong>
Status: CLOSED CURRENTRELEASE QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: akarol, cpelland, gblomqui, hsong, ldomb, obarenbo, roliveri
Target Milestone: GAKeywords: 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:
: 1559609 (view as bug list) Environment:
Last Closed: 2019-02-11 13:59:55 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: 1559609    

Description Hui Song 2018-03-16 13:56:53 UTC
Description of problem:

If an Amazon VPC has no gateways configured and is chose to deploy Amazon SSA agent on it, SSA will fail due to its unaccessible agent.


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


How reproducible:


Steps to Reproduce:
1. Create a VPC;
2. Do not attach any gateway to it;
3. Turn on 'DNS resolution', 'DNS hostname' to 'yes';
4. Deploy an agent on this VPC;
5. Run SSA job;

Actual results:

SSA fails.

Expected results:

SSA works.


Additional info:

Comment 2 Dave Johnson 2018-03-16 14:04:42 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 CFME Bot 2018-03-21 18:41:58 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/master:

https://github.com/ManageIQ/manageiq-providers-amazon/commit/4df81dff80d8b63512e3cf04d808d8d090aba753
commit 4df81dff80d8b63512e3cf04d808d8d090aba753
Author:     hsong-rh <hsong>
AuthorDate: Tue Mar 20 14:55:37 2018 -0400
Commit:     hsong-rh <hsong>
CommitDate: Tue Mar 20 14:55:37 2018 -0400

    Fixes VPC selection to make sure it has internet gateway attached.

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

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

Comment 11 Satyajit Bulage 2018-10-31 14:37:51 UTC
Able to see the agent deployed using VPC which has Gateway attached to it.

Verified Version: 5.10.0.21.20181023151612_4c11b0d