Skip to main content
NetApp Knowledge Base

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

Views:
895
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.