跳转到主内容

Trident 无法配置 PVC - 无可用于访问模式的存储

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

适用于

适用于 Kubernetes/Openshift 的 Astra Trident

问题描述

在 Kubernetes 集群上安装 Trident 后,为 NFS PV 设置 StorageClass,例如用于 NFS/NAS:
  • provisioner: csi.trident.netapp.io
  • backendType: "ontap-nas"
  • storagePools: "nasvol:.*"
  • (other options)

POD 创建失败,并且 Trident 未配置卷:

#kubectl get pvc -A
NAMESPACE  NAME                                STATUS  VOLUME CAPACITY ACCESS NODES STORAGECLASS AGE
monitoring proemetheus-k8s-db-prometheus-k8s-0 Pending                             <SC_NAME>
monitoring proemetheus-k8s-db-prometheus-k8s-1 Pending                             <SC_NAME>

 
错误消息显示:
msg="GRPCerror: rpc error: code = InvalidArgument desc = no available storage for access modes: [ReadWriteOnce]" logLayer=csi_frontend requestID=<REQUEST-UUID> requestSource=CSI

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.