-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 1759617: pkg/terraform/exec/plugins: Bump Terraform AWS to 2.36.0 #2676
Conversation
@wking: This pull request references Bugzilla bug 1759617, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Also bump the AWS SDK to the latest 1.25.35. Changelogs in [1,2]. Among other things, this brings in a fix for the eventual-consistency race [3,4]: level=error msg="Error: \"terraform-20191008145747927600000001\": NoSuchBucket: The specified bucket does not exist" level=error msg="\tstatus code: 404, request id: BCC3822AF0933B5C, host id: QVhV5kSr/ztRk3204PNQoVKN6jT7LY0Pk2vJHEKBdG5W4Eok9T+JmZXj8M/1XtBDP5fYEC4HcOI=" level=error level=error msg=" on ../tmp/openshift-install-302978166/bootstrap/main.tf line 1, in resource \"aws_s3_bucket\" \"ignition\":" level=error msg=" 1: resource \"aws_s3_bucket\" \"ignition\" {" Generated with: $ cd pkg/terraform/exec/plugins $ emacs Gopkg.toml # terraform-provider-aws -> =2.36.0 $ dep ensure Solving failure: No versions of github.com/aws/aws-sdk-go met constraints: v1.19.26: Could not introduce github.com/aws/aws-sdk-go@v1.19.26 due to multiple problematic subpackages: Subpackage github.com/aws/aws-sdk-go/service/applicationinsights is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/forecastservice is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/iotevents is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/lakeformation is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/personalize is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/qldb is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.)Subpackage github.com/aws/aws-sdk-go/service/servicequotas is missing. (Package is required by github.com/terraform-providers/terraform-provider-aws@v2.36.0.) ... $ emacs Gopkg.toml # aws-sdk-go -> =1.25.35, the latest per https://github.com/aws/aws-sdk-go/tags https://github.com/aws/aws-sdk-go/blob/v1.25.35/CHANGELOG.md $ dep ensure using: $ dep version dep: version : v0.5.1 build date : 2019-03-20 git hash : faa61893 go version : go1.10.3 go compiler : gc platform : linux/amd64 features : ImportDuringSolve=false [1]: https://github.com/terraform-providers/terraform-provider-aws/blob/v2.36.0/CHANGELOG.md#2360-november-14-2019 [2]: https://github.com/aws/aws-sdk-go/blob/v1.25.35/CHANGELOG.md [3]: https://bugzilla.redhat.com/show_bug.cgi?id=1759617#c10 [4]: hashicorp/terraform-provider-aws#10863 (comment)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
c90d808
to
9bba2bd
Compare
/bugzilla refresh |
@wking: This pull request references Bugzilla bug 1759617, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Ranking in AWS-flake land over the past 48h:
|
Hmm, from images:
Looks like it needs Go 1.13. |
Looks like everything since Terraform's AWS-provider 2.30.0 needs Go 1.13. Not sure if we can get that bumped at this point, or if it needs to wait for 4.4. |
Go 1.13 bump: openshift/release#5928 |
Looking through the provider changelog, there are also a number of "Final retries after timeouts..." fixes, e.g. for instances in 2.28.0 (hashicorp/terraform-provider-aws#9879) that may help with some of our other timeouts. Although over the past 48 hours, all of the instance timeouts have been: $ curl -s 'https://search.svc.ci.openshift.org/search?name=aws&search=level.error+msg.*in+resource.*aws_instance&context=3&maxAge=48h' | jq -r '. | to_entries[].value | to_entries[].value[].context[]' | sed -n 's/.*Error: //p' | sort | uniq -c | sort -n
22 Internal error on launch" |
The Terraform-provider bump brought in hashicorp/terraform-provider-aws@864285b1bb (Tagging for VPC Endpoints and VPC Endpoint Services, 2019-05-15, hashicorp/terraform-provider-aws#8674, v2.16.0). Also wire this into the deleteARN tree. VPC endpoint ARNs look like: arn:aws:ec2:{region}:{account}:vpc-endpoint/vpce-123...
/hold |
This looks like a good candidate for folding into the Go Modules migration that I'm working on over at #2745, objections? |
@wking: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We need this to bump a Terraform provider [1], which we need to fix an AWS provisioning flake [2]. golang-1.13 became available in CI in 407b8e0 (Add Golang 1.13.1 to CI, 2019-10-01, openshift#5236). Skipping 4.3 [3,4] (which is in code-freeze). [1]: openshift/installer#2676 (comment) [2]: https://bugzilla.redhat.com/show_bug.cgi?id=1759617#c10 [3]: openshift#5928 (comment) [4]: openshift#5928 (comment)
/hold cancel |
@wking: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/close |
@sdodson: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Also bump the AWS SDK to the latest 1.25.35. Changelogs here and here. Among other things, this brings in a fix for the eventual-consistency race:
Generated with: