-
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
Chef Provisioner Failing #17638
Comments
I'm also experiencing this issue. |
Same goes here with 0.11.4. |
I'm also experiencing this on 0.11.4, and can't switch back to 0.11.3 since my remote state had already been created with 0.11.4 |
use correct context for communicator.Retry
I still see the same problem even after upgrading to terraform 0.11.5 when using the Chef provisioner against an aws_instance resource: Error: Error applying plan:
resource "aws_instance" "chef-node" { tags { user_data = "${data.template_file.role-id.rendered}" provisioner "chef" {
} This code worked fine with 0.11.3, but broke with 0.11.4 and is not fixed by 0.11.5, |
Not fixed in 0.11.5. I'm still getting |
Thanks for the info @rberlind, we'll get someone to look into what else could be cutting it off. |
Thanks. Actual project I am using is: https://github.com/hashicorp/vault-guides/tree/master/identity/vault-chef-approle. The problem occurs in "Phase 2" when I try to run terraform to provision the chef-node. The specific file with the Chef provisioner is: https://github.com/hashicorp/vault-guides/blob/master/identity/vault-chef-approle/terraform-aws/chef-node/main.tf |
I'm also getting this on 0.11.4 / 0.11.5. Here's my scrubbed TRACE output:
In case it's relevant, my chef provisioner is using a bastion host:
|
I am also using a bastion host when I see this error message, if that helps. |
Closed by #17609 |
Glad to see a fix merged. What's the release schedule look like? |
Looks like the fix for this shipped with v0.11.6 🎉 |
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. |
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
Chef provisioning should complete successfully.
Actual Behavior
The Chef provisioner starts but unexpectedly disconnect once connected. Chef provisioner works just fine with Terraform version v0.11.3. Also, remote-exec provisioner completes successfully.
Steps to Reproduce
Additional Context
Running a Python wrapper script with python_terraform module.
References
The text was updated successfully, but these errors were encountered: