S3 action GetBucketAcl does not return all properties
Applies to
- ONTAP 9.8+
- ONTAP S3
- AWS CLI
- Apache DRUID
Issue
- When an S3 client sends a
GetBucketAcl
request to ONTAP, ONTAP returns an XML in which the Grantee property is not populated - S3 client error examples:
- Apache DRUID
-
java.lang.RuntimeException: com.amazonaws.SdkClientException: Failed to parse XML document with handler class com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$AccessControlListHandler
Caused by: java.lang.NullPointerException: Cannot invoke "com.amazonaws.services.s3.model.Grantee.setIdentifier(String)" because "this.currentGrantee" is null
-
- AWS CLI
-
# aws --endpoint-url http://192.168.x.x s3api get-bucket-acl --bucket bkt1 --profile user1 { "Owner": { "DisplayName": "", "ID": "" }, "Grants": [ { "Permission": "FULL_CONTROL", "Grantee": { "DisplayName": "", "ID": "" } } ] }
-
- Apache DRUID