Bug 2045049 - openshift-installer intermittent failure on AWS with "Error: Provider produced inconsistent result after apply" when creating the aws_route_table resource
Summary: openshift-installer intermittent failure on AWS with "Error: Provider produce...
Keywords:
Status: CLOSED DUPLICATE of bug 2033256
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: aos-install
QA Contact: Yunfei Jiang
URL:
Whiteboard:
Depends On:
Blocks: 2047390
TreeView+ depends on / blocked
 
Reported: 2022-01-25 14:00 UTC by Greg Sheremeta
Modified: 2022-01-31 18:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-31 18:43:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Greg Sheremeta 2022-01-25 14:00:08 UTC
$ openshift-install version
4.9.x

Platform: AWS -- OSD and ROSA, specifically

Please specify:
IPI

What happened?
Error: Provider produced inconsistent result after apply

What did you expect to happen?
Successful install

How to reproduce it (as minimally and precisely as possible)?
It is random and rare

Flow seems to be:
1 Installer creates a thing
2 AWS creates it
3 AWS says it doesn't exist
4 Terrform dies

log excerpt:

level=info msg=Credentials loaded from default AWS environment variables
level=info msg=Creating infrastructure resources...
level=error
level=error msg=Error: Provider produced inconsistent result after apply
level=error
level=error msg=When applying changes to module.vpc.aws_route_table.default[0], provider
level=error msg="registry.terraform.io/-/aws" produced an unexpected new value for was
level=error msg=present, but now absent.
level=error

Comment 2 Greg Sheremeta 2022-01-26 14:01:27 UTC
> Related to other terraform provider race issues

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

Comment 3 Matthew Staebler 2022-01-31 18:43:16 UTC

*** This bug has been marked as a duplicate of bug 2033256 ***


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