I am not able to add location profile with below inputs:
Profile Name : test1
Cloud Storage Provider : S3 Compatible ####It is minio s3 bucket#####
Endpoint : http://192.168.2.6:30524
Valid access and secret keys
Region : US
Bucket : bucket102
The web console gives this error:
Please be patient. This sometimes takes a while.
Certain cloud providers are known to be slow to respond to validation requests.
After some time web UI says:
Connection Error
Request failed with status code 504 (dashboardbff-svc)
After few minutes the profile goes from status=unknown to status=failed.
Describe profile gives below error:
Error:
{"message":"Failed to validate profile location","function":"kasten.io/k10/kio/configcontroller/profile.validateProfile","linenumber":59,"file":"kasten.io/k10/kio/configcontroller/profile/profile_validation.go:59","cause":{"message":"Could not get profile bucket","function":"kasten.io/k10/kio/configcontroller/profile.checkLocationObjectStore","linenumber":340,"file":"kasten.io/k10/kio/configcontroller/profile/profile_validation.go:340","fields":"{"name":"bucket","value":"bucket200"}],"cause":{"message":"failed to get bucket bucket200: GetBucketLocation: RequestError: send request failed\ncaused by: Get \"http://192.168.2.6:32685/bucket200?location=\": dial tcp 192.168.2.6:32685: connect: connection timed out"}}}
Note that the MinIO S3 endpoint and bucket are working fine and I am able to do get/put using aws cli in that bucket.
I am using kastenIO version 5.0.2 and kubernetes version 1.22.10
The servers hosting kubernetes have 2 networks one 10.237.74.x which is management network for servers and other one is 192.168.2.0 which is private network which is used by Calico for interpod communication. MinIO and kasten pods are in the same kubernetes cluster.
Could you please let me know how to fix this error or how to debug this further?
Thanks!