メインコンテンツまでスキップ

Trident を使用してボリューム Snapshot を作成しようとすると、 Snapshot またはリストアのサイズでエラーが発生します

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

環境

Trident for Kubernetes と OpenShift 21.07.0 および 21.07.1

問題

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

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.