Skip to main content
NetApp Stage KB

Trident fails to create snapshot with "cannot get claim from snapshot"

Views:
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
SNAPX
Last Updated:

Applies to

NetApp Astra Trident

Issue

  • kubectl apply for snapshot creation returns result of created.
# kubectl apply -f snapshot.yaml
volumesnapshot.snapshot.storage.k8s.io/<NAME> created
  • kubectl describe volumesnapshot shows the snapshot creation is failed with error:

Failed to create snapshot content with error snapshot controller failed to update <NAME> on API server: cannot get claim from snapshot

  • snapshot-controller log shows error:

cannot get claim from snapshot [<NAME>]: [failed to retrieve PVC <PVC> from the lister: "persistentvolumeclaim \"<PVC>\" not found"] Claim may be deleted already. No need to remove finalizer on the claim.

  • PersistentVolumeClaim (PVC) for the snapshot is not in default namespace.
  • Namespace for the snapshot is not specified.

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.
Case Citation
bb181e60-bc78-4929-8b26-6119960c10e8