IBM Cloud Docs
Why can't I create File Storage for VPC snapshots?

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.

  1. Describe your volumesnapshot and review the status.

    kubectl describe volumesnapshot VOLUMESNAPSHOT
    
    • If there is a shares_snapshot_operation_not_allowed error, make sure you have been allowlisted for regional file share access and contact IBM VPC Support team.

    • If there is a shares_access_forbidden error, make sure you have Share Snapshot Operator permissions in IAM.

  2. If issue still persist then get the logs of the ibm-vpc-file-csi-controller-XXX driver and sidecar pod. Replace ibm-vpc-file-csi-controller-XXX with the exact pod name from your cluster.

    kubectl logs -n kube-system ibm-vpc-file-csi-controller-XXX -c csi-snapshotter
    
    kubectl logs -n kube-system ibm-vpc-file-csi-controller-xx -c iks-vpc-file-driver
    
  3. 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.