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
Hi, I am trying to create a profile for s3compliant using the endpoint s3.cern.ch. Instead of looking at the desired URL, it appends this URL to https://s3.cern.amazonaws.com. I run the following command and get the error as shown below.
secret 's3-secret-cy0fja' created
Failed the 'Validate bucket region specified in profile' check.. ❌
validation failed, deleting secret 's3-secret-cy0fja'
secret 's3-secret-cy0fja' deleted
Error: profile validation failed: failed to get bucket mongodb-backup: GetBucketLocation: RequestError: send request failed
caused by: Get "https://s3.cern.amazonaws.com/mongodb-backup?location=": dial tcp: lookup s3.cern.amazonaws.com on 137.138.16.5:53: no such host
{"File":"pkg/kanctl/kanctl.go","Function":"github.com/kanisterio/kanister/pkg/kanctl.Execute","Line":48,"error":"profile validation failed: failed to get bucket mongodb-backup: GetBucketLocation: RequestError: send request failed\ncaused by: Get \"https://s3.cern.amazonaws.com/mongodb-backup?location=\": dial tcp: lookup s3.cern.amazonaws.com on 137.138.16.5:53: no such host","hostname":"imran-cc.cern.ch","level":"info","msg":"Kanctl failed to execute","time":"2022-08-09T19:57:22.077775142+02:00"}
Could someone please help to fix this issue? Thanks
Best regards
M Imran
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue 👍. The team will review it shortly.
If this is a bug report, make sure to include clear instructions how on to reproduce the problem with minimal reproducible examples, where possible. If this is a security report, please review our security policy as outlined in SECURITY.md.
If you haven't already, please take a moment to review our project's Code of Conduct document.
@muhammadimranfarooqi thanks for filing the issue. Looks like a bug in the profile validation code where the profile endpoint is not copied to the objectstore config. As a test, can you re-run your command with the --skip-validation flag to see if that works? Meanwhile, will you be interested in submitting a pull request fix? It should be a three-line change. If yes, I can show you where the code is.
Describe the bug
Hi, I am trying to create a profile for
s3compliant
using the endpoints3.cern.ch
. Instead of looking at the desired URL, it appends this URL tohttps://s3.cern.amazonaws.com
. I run the following command and get the error as shown below.Command
Output
Could someone please help to fix this issue? Thanks
Best regards
M Imran
The text was updated successfully, but these errors were encountered: