如果设置了严格的后端和 ONTAP 限制, Trident PV 部署可能会失败
适用场景
适用于 Kubernetes 和 OpenShift 的 Trident
问题描述
如果尝试从 ONTAP 经济型后端提供新的 PV ,而现有卷中似乎有足够的可用空间,则 Trident 会创建一个额外的经济型卷,或者无法为 PV 提供以下错误:
Failed to create volume pvc-<UUID> on storage pool <AGGREGATE> from backend BACKEND_NAME: backend cannot
satisfy create request for volume <PREFIX>_pvc_<UUID>: (ONTAP-NAS-QTREE pool <AGGREGATE>/<AGGREGATE>; Flexvol location/creation failed <PREFIX>_pvc_<UUID>: error creating Flexvol for qtree: error creating Flexvol: API status: failed, Reason: Cannot create volume. Reason: Maximum volume count for VserverSVM reached. Maximum volume count is 2