Bug 2064969 - AWS eventual consistency with route table: empty result when reading
Summary: AWS eventual consistency with route table: empty result when reading
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.12.z
Assignee: Patrick Dillon
QA Contact: Yunfei Jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-17 01:28 UTC by Matthew Staebler
Modified: 2023-03-09 01:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-09 01:15:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5719 0 None open Bug 2064969: terraform: upgrade aws provider to v4.5.0 2022-03-17 02:35:39 UTC

Description Matthew Staebler 2022-03-17 01:28:50 UTC
level=error
level=error msg=Error: error reading Main Route Table Association (rtbassoc-047bc7d14b5e0a695): empty result
level=error
level=error msg=  with module.vpc.aws_main_route_table_association.main_vpc_routes[0],
level=error msg=  on vpc/vpc-public.tf line 27, in resource "aws_main_route_table_association" "main_vpc_routes":
level=error msg=  27: resource "aws_main_route_table_association" "main_vpc_routes" {
level=error
level=fatal msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply Terraform: exit status 1
level=fatal
level=fatal msg=Error: error reading Main Route Table Association (rtbassoc-047bc7d14b5e0a695): empty result
level=fatal
level=fatal msg=  with module.vpc.aws_main_route_table_association.main_vpc_routes[0],
level=fatal msg=  on vpc/vpc-public.tf line 27, in resource "aws_main_route_table_association" "main_vpc_routes":
level=fatal msg=  27: resource "aws_main_route_table_association" "main_vpc_routes" {
level=fatal
level=fatal

https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_installer/5715/pull-ci-openshift-installer-master-okd-e2e-aws-upgrade/1504180939054387200

This issue was reported against the terraform provider [1]. There was a fix introduced in 4.0.0 of the terraform provider. There are reports of further route table problems in 4.0.0, though.

[1] https://github.com/hashicorp/terraform-provider-aws/issues/21629

Comment 7 Shiftzilla 2023-03-09 01:15:19 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-9176


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