Why can't I create File Storage for VPC snapshots?
Virtual Private Cloud
You are unable to create snapshots and you see error messages similar to the following.
shares_snapshot_operation_not_allowed
shares_access_forbidden
There are several reasons why you might not be able to create snapshots. To debug the issue, complete the following steps to gather the required log files before contacting support.
-
Describe your volumesnapshot and review the status.
kubectl describe volumesnapshot VOLUMESNAPSHOT-
If there is a
shares_snapshot_operation_not_allowederror, make sure you have been allowlisted for regional file share access and contact IBM VPC Support team. -
If there is a
shares_access_forbiddenerror, make sure you have Share Snapshot Operator permissions in IAM.
-
-
If issue still persist then get the logs of the
ibm-vpc-file-csi-controller-XXXdriver and sidecar pod. Replaceibm-vpc-file-csi-controller-XXXwith the exact pod name from your cluster.kubectl logs -n kube-system ibm-vpc-file-csi-controller-XXX -c csi-snapshotterkubectl logs -n kube-system ibm-vpc-file-csi-controller-xx -c iks-vpc-file-driver -
If the issue persists, contact support. Open a support case. In the case details, be sure to include any relevant log files, error messages, or command outputs.