メインコンテンツへスキップ

S3処理のGetBucketAclで一部のプロパティが返されない

Views:
54
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

環境

  • ONTAP 9.8以降
  • ONTAP S3
  • AWS CLI
  • Apache DRUID

問題

  • S3クライアントが  ONTAPにGetBucketAcl 要求を送信すると、ONTAPからXMLが返されますが、Granteeプロパティに値が設定されていません。
  • S3クライアントのエラー例:
    • 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.