Astra Trident 卷配置失败,并显示未找到聚合错误
适用场景
- 适用于 Kubernetes /OpenShift 的 Trident (截至 21.07.2 )
- 适用于 Kubernetes /OpenShift 的 Astra Trident ( 21.10.0 及更高版本)
问题描述
尝试在 Trident 中使用新定义的后端提供 NAS 或 SAN 卷时,在以下情况下,在 Trident 控制器 CSI Pod 中执行卷配置失败:
level=error msg="ONTAP-NAS pool /; error creating volume <PREFIX>_pvc_fa595955_cb85_4ec4_96fe_8803c14603e6:
API status: failed, Reason: Aggregate not found. Reason: entry doesn't exist. , Code: 14420"
requestID=27684942-9188-4883-9e58-748d2a713ada requestSource=CSI
level=error msg="GRPC error: rpc error: code = Unknown desc = encountered error(s) in creating the volume:
[Failed to create volume pvc-fa595955-cb85-4ec4-96fe-8803c14603e6 on storage pool from backend ontap-nas:
backend cannot satisfy create request for volume <PREFIX>_pvc_fa595955_cb85_4ec4_96fe_8803c14603e6:
(ONTAP-NAS pool /; error creating volume k8spoc_pvc_fa595955_cb85_4ec4_96fe_8803c14603e6: API status: failed,
Reason: Aggregate not found. Reason: entry doesn't exist. , Code: 14420)]"
requestID=27684942-9188-4883-9e58-748d2a713ada requestSource=CSI
此操作会延迟部署,直到将聚合信息正确添加到 ONTAP API 请求中为止。