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.
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.
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