Kubernetes创建PVC、并显示错误"no available backends for storage class media SAS"
适用场景
- ONTAP 9
- 适用于 Kubernetes 的 Trident
- PersistentVolumeClaim (PVC)
问题描述
LINUX@master:~/trident/trident-installer$ kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
sas-vol Pending ontap-sas 7s
...
Events:
Type Reason Age From Message
---- ------ ---- ----- -------
Normal Provisioning 17s (x3 over 25s) csi.trident.netapp.io_trident-csi-<UUID> External provisioner is provisioning volume for claim "default/sas-vol"
Normal ProvisioningFailed 17s (x3 over 25s) csi.trident.netapp.io no available backends for storage class <SC_NAME>
Warning ProvisioningFailed 17s (x3 over 25s) csi.trident.netapp.io_trident-csi-<UUID> failed to provision volume with StorageClass "ontap-sas": rpc error: code = Unknown desc = no available backends for storage class <SC_NAME>
Normal ExternalProvisioning 2s (x3 over 25s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "csi.trident.netapp.io" or manually created by system administrator