在未找到资源的情况下、从CSI Snapshot配置Trident PVC失败
- Views:
- 2
- Visibility:
- Public
- Votes:
- 0
- Category:
- astra_trident<a>2009年372381.</a>
- Specialty:
- snapx
- Last Updated:
适用场景
- Astra Trident 21.10及更高版本
- Trident 20.01到21.07.1 (已启动CSI Snapshot支持、Astra之前的命名更改)
- Kubernetes 1.20及更高版本(v1 CsI-Snapshots)
问题描述
尝试从Trident PV上创建的CSI Snapshot配置新PVC时、trident控制器配置日志中显示以下错误:
error syncing claim "<CLAIM_UUID>":
failed to provision volume with StorageClass "<STORAGE_CLASS_NAME>": error getting handle for DataSource Type
VolumeSnapshot by Name <CSI_SNAPSHOT_NAME>: error getting snapshot <CSI_SNAPSHOT_NAME> from api server:
the server could not find the requested resource (get volumesnapshots.snapshot.storage.k8s.io <CSI_SNAPSHOT_NAME>)