メインコンテンツまでスキップ

11.4 では可能な場合、 awscli 経由で 11.5 にオブジェクトロックバケットを作成できません

Views:
4
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

環境

NetApp StorageGRID の略

問題

StorageGRID 11.4 で AWS CLI を使用してオブジェクトロックが有効なバケットを作成しようとしても、エラーは返されません。StorageGRID 11.5 で同じクラスタを作成すると、エラーが返されます。
 
StorageGRID 11.4:

<user>@<nodename>:~>
aws --profile <profile name>  --endpoint-url <endpoint url> s3api create-bucket --bucket<bucketname> --object-lock-enabled-for-bucket
{
   "Location": "/<location>"
}

2022-02-08 09:20:18,064 - MainThread -
urllib3.connectionpool - DEBUG - <endpoint>"PUT /<bucketname> HTTP/1.1" 200 0

StorageGRID 11.5 :

<user<@<nodename>:~> aws --profile <profile name>  --endpoint-url
<endpoint url> s3api create-bucket --bucket <bucketname> --object-lock-enabled-for-bucket

An error occurred
(InvalidRequest) when calling the CreateBucket operation: S3 Object Lock has not been enabled for the grid. Contact your
StorageGRID administrator to enable this setting.


2022-02-08 09:16:48,399 - MainThread - urllib3.connectionpool - DEBUG -
<endpoint>"PUT /<bucketname> HTTP/1.1" 400 290

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.