跳转到主内容

新的 Trident 经济型 PVC 无法正确配置

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

适用于

  • NetApp Astra Trident 24.10
  • NetApp ONTAP 9.X
  • ontap-nas-economy 驱动程序
  • 在 Trident 后端设置 ZAPI 调用

问题描述

当尝试配置新的 PVC 时,相关的 PV 不会被创建和绑定,并且在 Trident 配置程序日志中可见以下错误:

ProvisioningFailed   csi.trident.netapp.io_trident-controller-xyxyxyxyxy-yxyxy_xyxyxyxy-xyxy-yxyx-xzxz-xyzxyzxyzxyz  failed to provision volume with StorageClass "sc-nas": rpc error: code = Unknown desc = encountered error(s) in creating the volume: [Failed to create volume pvc-xyxyxyxy-yxyx-xyxy-zxzx-zxyzxyzxyzxy on storage pool pool_0 from backend my-backend: backend cannot satisfy create request for volume trident_pvc_xyxyxyxy_yxyx_xyxy_zxzx_zxyzxyzxyzxy: (ONTAP-NAS-QTREE pool pool_0/aggr1; Flexvol resize failed trident_qtree_pool_trident_XYZXYZXYZX/trident_pvc_xyxyxyxy_yxyx_xyxy_zxzx_zxyzxyzxyzxy: flexvol resize failed: volume resize failed; ONTAP-NAS-QTREE pool pool_0/aggr1; Flexvol resize failed 

在 ontap 侧的 auditm-log 中,可以看到错误"0" is an invalid value for field <-new-size>

Day Month DD YYYY hh:mm:ss +00:00 [kern_audit:info:XXXXX]  :: ontapi :: XXX.YY.ZZ.XXX :: svm_name:vsadmin :: <netapp xmlns=http://www.netapp.com/filer/admin version="1.21" vfiler="svm_name">       <volume-size>   <new-size>0</new-size>   <volume>trident_qtree_pool_trident_XYXYXYXY</volume> </volume-size>     </netapp> :: Pending: 
Day Month DD YYYY hh:mm:ss +00:00 [kern_audit:info:XXXXX]  :: ontapi :: XXX.YY.ZZ.XXX :: svm_name:vsadmin :: volume-size :: Error: "0" is an invalid value for field <-new-size>

 

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.