-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Provider download service no longer returning Protocol Version header #15535
Comments
Hi same for all plugins: Initializing provider plugins...
No available provider "aws" plugins are compatible with this Terraform version. From time to time, new Terraform major releases can change the requirements for Terraform checked all of the plugin versions matching the given constraint: Unfortunately, none of the suitable versions are compatible with this version Consult the documentation for this provider for more information on
No available provider "vault" plugins are compatible with this Terraform version. From time to time, new Terraform major releases can change the requirements for Terraform checked all of the plugin versions matching the given constraint: Unfortunately, none of the suitable versions are compatible with this version Consult the documentation for this provider for more information on
No available provider "dyn" plugins are compatible with this Terraform version. From time to time, new Terraform major releases can change the requirements for Terraform checked all of the plugin versions matching the given constraint: Unfortunately, none of the suitable versions are compatible with this version Consult the documentation for this provider for more information on error: None Reason: Could not satisfy plugin requirements. Plugins are external binaries that Terraform uses to access and manipulate resources. The configuration provided requires plugins which can't be located, don't satisfy the version constraints, or are otherwise incompatible. 3 error(s) occurred:
Terraform automatically discovers provider requirements from your configuration, including providers used in child modules. To see the requirements and constraints from each module, run "terraform providers". Any ETA on this bug ? |
Maybe @jbardin can help escalate? |
Hi, Sorry about the inconvenience here, I'm not sure what happened yet to cause those headers to be removed. Since the protocol version had to be moved to a header for the releases site, I think we should probably make the absence of the header non-fatal. While it may cause confusion later if the protocol version doesn't match, it will at least make an attempt to in the common case. In the meantime for anyone hitting this while using the beta, you can download the provider manually from https://releases.hashicorp.com/, and simply unpack it in your config directory to run terraform. @grubernaut @sethvargo, Any idea what happened to the |
We too ran into this issue. In our case, we had to drop the binary from the provider we were using (fastly) as well as this provider binary: https://releases.hashicorp.com/terraform-provider-terraform/0.1.0/ |
Hi all, sorry for this issue! This is currently being worked on, and should be fixed soon. Thanks! |
Hi all, Sorry about this. This should be fixed now. Could you please verify? |
We are still seeing this failure on v0.0.10-beta1. |
Hey @barberta What provider are you trying to download and for which platform? |
The
With debug: |
@sethvargo the issue @udryan10 and I are seeing is specifically regarding the terraform-provider-terraform provider. Manually downloading and extracting this seems to fix our issue as identified earlier. |
Below is our output from running
|
Hey @barberta Thank you for working with us on this. I'm really sorry about the inconvenience. Could you run this and share the response headers:
I'm wondering if Terraform has a cached copy of the binary without the header. @jbardin can you chime in a bit about how the provider download works? |
Not a problem @sethvargo. Response headers are as follows:
|
Okay @barberta I think I narrowed it down. Can you try that curl command again please? You should see an x-terraform-protocol-version in the response headers somewhere. |
@sethvargo i see it there now.
|
And that seems to have solved the issue at least from our perspective. Thanks again for the quick resolution.
|
👍 |
Did you get your problem fixed? I still have the same issue.
version
|
Hi @ozbillwang , |
Thanks, but I still don't make it work. I downloaded the package, and unzip it, there is only one binary
I also clean the folder I went through UpdatesI got what need be done
The url is: http://terraform-0.12.0-dev-snapshots.s3-website-us-west-2.amazonaws.com/ |
I am so sorry for that @ozbillwang , I was thinking of the alpha releases which we bundled with the providers. That was my mistake. Thank you for updating this for me and any one else that runs across the same issue! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
PROVIDER ISSUES
PLEASE NOTE: Terraform has split out the builtin Providers into their own repositories. For any Provider issues, please open all issues and pull requests in the corresponding repository. An index of supported Providers can be found here:
All other issues (that appear to affect multiple or all providers) may be an issue with Terraform's core, and should be opened here.
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
0.10.0 beta 1. Also observed on 0.10.0 beta 2
Debug Output
https://gist.github.com/DevOpsFu/392a5de72df538776ff7d632e921d709
Expected Behavior
Providers should have been downloaded on the fly
Actual Behavior
All plugin downloads failed with an error like:
no versions of "consul" compatible with the plugin ProtocolVersion
Steps to Reproduce
Any terraform plan that requires a download of a plugin from the plugin service.
Important Factoids
This appears to have started happening between about 2300 on 11th July and 0700 on 12th of July, UTC.
Manually curling the plugin service shows that the expected
X-TERRAFORM_PROTOCOL_VERSION
header is not being returnedThe text was updated successfully, but these errors were encountered: