Skip to main content
NetApp Knowledge Base

S3 action GetBucketAcl does not return all properties

Views:
159
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:
11/25/2024, 7:22:14 PM

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": ""
                    }
                }
            ]
        }

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.