Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Intermittent checksum failures with provider break CI/CD pipelines #204

Closed
stantonk opened this issue Jul 10, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@stantonk
Copy link

What is the bug?

Terraform apply intermittently fails due to checksum mismatches with provider.

Initializing provider plugins...
- Reusing previous version of opensearch-project/opensearch from the dependency lock file
- Reusing previous version of hashicorp/aws from the dependency lock file
- Reusing previous version of hashicorp/vault from the dependency lock file
- Using opensearch-project/opensearch v2.0.0 from the shared cache directory
- Using hashicorp/aws v3.72.0 from the shared cache directory
- Using hashicorp/vault v2.18.0 from the shared cache directory

Error: Failed to install provider from shared cache

Error while importing opensearch-project/opensearch v2.0.0 from the shared
cache directory: the provider cache at .terraform/providers has a copy of
registry.terraform.io/opensearch-project/opensearch 2.0.0 that doesn't match
any of the checksums recorded in the dependency lock file.

How can one reproduce the bug?

It seems to happen intermittently.

What is the expected behavior?

Checksums for providers should not fail.

What is your host/environment?

Ubuntu 18.04.6 LTS, AWS EC2

@prudhvigodithi
Copy link
Member

[Triage]
Hey @stantonk can you provide more details here regarding your CI/CD workflow anb are you using the latest version of the provider and running the terraform init?
Thank you

@getsaurabh02 getsaurabh02 moved this from 🆕 New to Later (6 months plus) in Engineering Effectiveness Board Jul 18, 2024
@prudhvigodithi
Copy link
Member

Hey @stantonk closing this issue, please feel-free to re-open if you are still having issues.
Thank you
@getsaurabh02 @rblcoder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants