跳转到主内容

NetApp wins prestigious Coveo Relevance Pinnacle Award. Learn more!

INSIGHT Japan :2023年 1月25日(水)ANAインターコンチネンタルホテル開催 へ参加・申込を行う

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

Views:
3
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

Scan to view the article on your device