You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been testing the provider-aws package locally with localstack as part of our dev environment using the 0.21.2 release and it's been working great. Upgrading to the 0.22.0 release breaks development though - it seems that the endpoint.url.static path is not being respected in at least some API calls:
Error if you pass in a bogus region:
2021-12-17T00:23:03.792Z DEBUG provider-aws Cannot observe external resource {"controller": "managed/bucket.s3.aws.crossplane.io", "request": "/test-bucket1-sh7t5-zmtgg", "uid": "dd3904ff-0312-4cc2-9f5f-3c6e76018ec4", "version": "2384231", "external-name": "local-crossplane-test-bucket1", "error": "failed to query Bucket: operation error S3: HeadBucket, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Head \"https://local-crossplane-test-bucket1.s3.unknown.amazonaws.com/\": dial tcp: lookup local-crossplane-test-bucket1.s3.unknown.amazonaws.com on 10.96.0.10:53: no such host", "errorVerbose": "operation error S3: HeadBucket, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Head \"https://local-crossplane-test-bucket1.s3.unknown.amazonaws.com/\": dial tcp: lookup local-crossplane-test-bucket1.s3.unknown.amazonaws.com on 10.96.0.10:53: no such host\nfailed to query Bucket\ngithub.com/crossplane/provider-aws/pkg/clients.Wrap\n\t/home/runner/work/provider-aws/provider-aws/pkg/clients/aws.go:977\ngithub.com/crossplane/provider-aws/pkg/controller/s3.(*external).Observe\n\t/home/runner/work/provider-aws/provider-aws/pkg/controller/s3/bucket.go:108\ngithub.com/crossplane/crossplane-runtime/pkg/reconciler/managed.(*Reconciler).Reconcile\n\t/home/runner/work/provider-aws/provider-aws/vendor/github.com/crossplane/crossplane-runtime/pkg/reconciler/managed/reconciler.go:681\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/work/provider-aws/provider-aws/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:298\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/work/provider-aws/provider-aws/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:253\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/work/provider-aws/provider-aws/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:214\nruntime.goexit\n\t/opt/hostedtoolcache/go/1.16.12/x64/src/runtime/asm_arm64.s:1130"}
Slack Thread: https://crossplane.slack.com/archives/CEG3T90A1/p1639700810306500
What happened?
I've been testing the
provider-aws
package locally withlocalstack
as part of our dev environment using the0.21.2
release and it's been working great. Upgrading to the0.22.0
release breaks development though - it seems that theendpoint.url.static
path is not being respected in at least some API calls:Error if you pass in a bogus region:
Error when the region is valid:
How can we reproduce it?
Following https://github.com/crossplane/provider-aws/blob/master/examples/providerconfig/localstack.yaml, create the following resources:
then create a bucket
then see the failures in the providers logs:
What environment did it happen in?
Crossplane version: 1.5.1
Kubernetes Provider: KIND 1.21.1
The text was updated successfully, but these errors were encountered: