跳转到主内容

Trident无法创建快照、并显示"Cannot get claim from snapshot"

Views:
23
Visibility:
Public
Votes:
0
Category:
trident-kubernetes<a>200318kubectl</a><a>create</a>
Specialty:
snapx
Last Updated:

适用场景

NetApp Astra Trident

问题描述

  • kubectl apply 对于创建快照、将返回 创建的结果。
# kubectl apply -f snapshot.yaml
volumesnapshot.snapshot.storage.k8s.io/<NAME> created
  • kubectl describe volumesnapshot 显示快照创建失败并显示错误:

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

  • Snapshot-controller日志显示错误:

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)不在默认命名空间中。
  • 未指定快照的命名空间。

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.