Bug 1654511 - No route table subnet associations cause Amazon AWS Smartstate failure
Summary: No route table subnet associations cause Amazon AWS Smartstate failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.9.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Hui Song
QA Contact: Satyajit Bulage
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-28 22:45 UTC by Christopher Brown
Modified: 2020-01-23 14:31 UTC (History)
6 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:34:52 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:35:03 UTC

Description Christopher Brown 2018-11-28 22:45:48 UTC
Description of problem:

When there are no route table subnet associations in AWS, SSA fails with the following error, which is misleading:

Smartstate analysis needs a VPC whose enableDnsSupport/enableDnsHostnames settings are true!

Some additional logic was recently added to detect if a gateway is present:

https://github.com/ManageIQ/manageiq-providers-amazon/commit/4df81dff80d8b63512e3cf04d808d8d090aba753#diff-cd84545274981012ba66a77b6c85cf48

and I think this code does not anticipate this condition.

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

How reproducible:
Always using the following steps

Steps to Reproduce:
1. Remove any associated subnets from route tables
2. Remove smartstate VM and associated resources in AWS (if they exist)
3. Run SSA

Additional info:

The error message should be updated to be more granular with regards to the error or if this is not possible, broader to encompass all checks that take place. Also product documentation.

Comment 3 Matouš Mojžíš 2019-07-25 13:24:44 UTC
Verified in 5.11.0.15. When there is no gateway or no valid route on gateway error "Smartstate analysis needs a VPC whose enableDnsSupport/enableDnsHostnames are true and valid gateway/route setting!" is displayed.

Comment 5 errata-xmlrpc 2019-12-12 13:34:52 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/RHBA-2019:4199


Note You need to log in before you can comment on or make changes to this bug.