Astra Control Center does not properly allow to add a Nutanix S3 bucket
Applies to
- NetApp Astra Control Center
- Nutanix S3 Service Provider
Issue
When adding a generic S3 bucket provider, like Nutanix, ACC fails to add it with the following message in the bucketservice log:
{"level":"info","timestamp":"YYYY/MM/DDThh:mm:ss.Z","caller":"healthcheck/healthcheck.go:284","msg":"Running health check","application":"astra","component":"bucketservice_amd64_linux"}
{"level":"info","timestamp":"YYYY/MM/DDThh:mm:ss.8Z","caller":"healthcheck/healthcheck.go:284","msg":"Running health check","application":"astra","component":"bucketservice_amd64_linux"}
{"level":"info","timestamp":"YYYY/MM/DDThh:mm:ss.Z","caller":"healthcheck/healthcheck.go:79","msg":"Checking health of bucket xxxxxxxx-yyyy-zzzz-xxxx-yyyyyyyyyyyy","application":"astra","component":"bucketservice_amd64_linux"}
{"level":"error","timestamp":"YYYY/MM/DDThh:mm:ss.Z","caller":"healthcheck/healthcheck.go:156","msg":"Error checking if bucket exists","bucketID":"xxxxxxxx-yyyy-zzzz-xxxx-yyyyyyyyyyyy","bucketName":"s3-xxx01-01-yyyyy-001-t","accountID":"xxxxxxxx-yyyy-zzzz-xxxx-yyyyyyyyyyyy","provider":"generic-s3","error":"BadRequest: Bad Request\n\tstatus code: 400, request id: 000000+0000000+0000000+0000000, host id: 000000+0000000+0000000+0000000","application":"astra","component":"bucketservice_amd64_linux","stacktrace":"github.com/netapp-polaris/polaris/bucketservice/pkg/healthcheck.(*Bucket).CheckHealthWithProvider\n\t/build/pkg/healthcheck/healthcheck.go:156\ngithub.com/netapp-polaris/polaris/bucketservice/pkg/healthcheck.(*Bucket).CheckHealth\n\t/build/pkg/healthcheck/healthcheck.go:137\ngithub.com/netapp-polaris/polaris/bucketservice/pkg/healthcheck.(*Bucket).CheckAndUpdateHealth\n\t/build/pkg/healthcheck/healthcheck.go:81"}