跳转到主内容

对于在 Astra 控制中心中使用具有小数单位的 PVC 的应用程序,备份或克隆可能会失败

Views:
7
Visibility:
Public
Votes:
0
Category:
astra
Specialty:
not set
Last Updated:

适用场景

  • Astra 控制中心 
  • 使用 Astra 控制中心备份应用程序 
  • 使用 Astra 控制中心克隆应用程序 
  • Trident ontap-NAS 驱动程序 

问题描述

  • 如果满足以下所有条件,则应用程序备份或克隆可能会失败: 
  1. Kubernetes PersistentVolumeClaim ( PVC ), VolumeClaim Template 或 Helm 安装是使用国际单位系统( SI ) / 基数为 10 / 十进制单位(例如 K , M 或 G 符号)创建的,卷大小为 
  2. Trident ontap-NAS 驱动程序用于创建卷  
  3. 永久性卷声明( Persistent Volume Claim , PVC )附加到由 Astra 管理的 Kubernetes 应用程序 
  4. 原始集群中备份命名空间(运行备份 Pod 的命名空间)中的 PVC 将显示类似的错误消息,如下所示。 

kubectl describe pvc <pvc-name> -n <backup namespace name> 

  Warning  ProvisioningFailed    22m (x11 over 27m)     csi.trident.netapp.io_trident-csi-678955886c-9r7mz_1ee2b9b4-d28b-43f1-800e-be43820fdb99  failed to provision volume with StorageClass "ontap-gold": error getting handle for DataSource Type VolumeSnapshot by Name pvc-db35f9ac-41d1-44e2-91f9-01bec673b00c-snap-e8d4ade8-221a-4328-b8ef-dc800ee91d9b-pvc-ifwqo: requested volume size 10000000000 is less than the size 10000003072 for the source snapshot pvc-db35f9ac-41d1-44e2-91f9-01bec673b00c-snap-e8d4ade8-221a-4328-b8ef-dc800ee91d9b-pvc-ifwqo 

  • 如果通过 Helm 图表或自定义清单安装应用程序,则会出现相同的问题描述。  

 

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.