跳转到主内容
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.

在快照或还原大小出现 Trident 错误的情况下创建卷快照

Views:
4
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

适用场景

适用于 Kubernetes 和 OpenShift 21.07.0 和 21.07.1 的 Trident

问题描述

在使用设置了 Snapshot 预留的 ONTAP NAS 后端的 PV 上,从 Kubernetes 或 OpenShift 创建 Snapshot 会导致以下错误:
 
在 21.07.0 版中:
csi.trident.netapp.io_trident-csi-<UUID> failed to provision volume with StorageClass "storage-class-nas-snap-reserve":
error getting handle for DataSource Type VolumeSnapshot by Name <SNAP_NAME>:
requested volume size 10737418240 is less than the size 17895698432 for the source snapshot <SNAP_NAME>
 
在 21.07.1 版中:
Failed to check and update snapshot content: error updating status for volume snapshot content snapcontent-<UUID>:
snapshot controller failed to update snapcontent-<UUID> on API server:
VolumeSnapshotContent.snapshot.storage.k8s.io "snapcontent-<UUID>" is invalid: status.restoreSize: Invalid value: -1744896:
status.restoreSize in body should be greater than or equal to 0
Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support