Troubleshooting the error when the bucket is created without msdpcldutil
Unlike the normal cloud LSU configuration, the bucket with Object Lock enabled cannot be created from NetBackup Web UI. You must use msdpcldutil to create the bucket with Object Lock enabled and create a cloud volume in it. If the bucket with Object Lock enabled already exists, you can use msdpcldutil to create a cloud volume in this bucket.
If you use AWS console or CLI to create a bucket directly instead of msdpcldutil tool, bucket loses the bucket policy protection, and you may see the following error. This issue is applicable only for NetBackup 9.1.
[root@rsvlmvc01vm linuxR_x86]# ./msdpcldutil create -b jzh-worm-bucket06 -v worm-b06-v02 --mode GOVERNANCE --min 1D --max 1Y -1 2023-10-24 current user has NO permission of cloud admin. Error: NoSuchBucketPolicy: The bucket policy does not exist status code: 404, request id: REQUESTID1234, host id: HostID1234
To fix this issue, you must add the bucket policy to S3 bucket manually. See About bucket policy for immutable storage.