原因删除S3存储分段时出现无效参数
适用场景
- ONTAP 9
- ONTAP S3
问题描述
- 尝试从图形用户界面或命令行界面删除存储分段时、出现以下错误。
::> vserver object-store-server bucket delete -vserver S3_svm -bucket bucket1
Error: command failed: Failed to remove bucket "bucket01" for Vserver "S3_svm". Reason: Failed to check if the bucket is empty. Reason: Invalid argument.
- 设置选项
-skip-bucket-empty-check true
也不会修复问题描述。
::> vserver object-store-server bucket delete -vserver S3_svm -bucket bucket1 -skip-bucket-empty-check true
Error: command failed: [Job 20078] Job failed: Failed to remove bucket "bucket01" for Vserver "S3_svm". Reason: Failed to check if the bucket is empty. Reason: Invalid argument. , Object store bucket policy statements are deleted during the failure of bucket deletion job for bucket "bucket01" on Vserver "S3_svm"., Object store audit event selector was deleted during the failure of bucket deletion job for bucket "bucket01" on Vserver "S3_svm".