-
Notifications
You must be signed in to change notification settings - Fork 372
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
Create Bucket error, dial not working #1540
Comments
That doesn't look like a provider issue to me and seems to be more connected to your kind instance or your network configuration. Have you checked if other pods have connection issues as well? |
Hello @MisterMX apiVersion: s3.aws.crossplane.io/v1beta1
kind: Bucket
metadata:
name: madnesscorp-amazing-app
spec:
deletionPolicy: Orphan
providerConfigRef:
name: aws-config
forProvider:
acl: private
locationConstraint: eu-east-1
tagging:
tagSet:
- key: CreatedBy
value: Crossplane everything started to work again when I changed it to Should I open a PR to check the behavior? I mean, checking it before trying to create the resource |
I am not sure how we can handle that properly. And even than I am a bit skeptical if we should even consider that since the general idea of the Crossplane providers is to pass the user input (spec) directly to the external API (here: AWS) and return any error message encountered. IMHO it is the user's responsibility to provide meaningful input. @haarchri any opinions on that? |
have the same feeling - the User ist responsible to provide the input |
Hello there, sorry for the delay TBH I think the same, but in this specific case, when you fill the region with a bad param, the error that is throwing is related to the connection, and that is not good for debugging purposes. Isn't the AWS API responding anything when the region is bad? |
Not that I know. As said, we are returning any error encountered as-is. It may depend on the AWS API you are talking to. |
mmm I see. Well, tbh I agree with you that is the ownership of people to write a well manifest. At the same time I would like to have more representative errors but this time is AWS blame. However, I would write documentation for this to help people with this edge cases. If you agree, I can write it of course |
Yes, I think this would be useful. I believe it would be best to add a note to the |
Hello, thank you for the answer. do you mean to document it adding the comment into this example manifest? Or you mean at code level? :) |
No, you have to add the documentation in the API definition at https://github.com/crossplane-contrib/provider-aws/blob/master/apis/s3/v1beta1/bucket_types.go#L38 |
I think it is worth to close this issue, as the documentation was already merged? |
Fixed in #1575 |
What happened?
When a bucket manifest is deployed from a Kind cluster, it is not working
How can we reproduce it?
What environment did it happen in?
Crossplane version: latest from Helm official Chart (1.10.0)
AWS provider version: 0.22
Kubernetes version:
OS:
Bucket manifest including status:
Possible related issue:
kubernetes-sigs/kind#2383
The text was updated successfully, but these errors were encountered: