Trident 池信息在 ONTAP 卷移动后未更新
适用于
- NetApp Trident
- 使用 TridentBackendConfig (TBC) 的 Trident 部署
- SVM aggr-list 中包含多个聚合的环境
问题
将 Trident 管理的 ONTAP 卷移动到其他聚合后,Trident 中的后端池信息不会反映新的聚合位置。这会导致:
- tridentctl get volume -n trident -o yaml 继续显示旧的聚合。
- 调配新的 PVC 可能会导致 Trident 在源聚合上创建新的 FlexVol,即使移动的卷具有可用的 qtree 插槽。
- 尝试使用 tridentctl update backend 手动更新后端失败,错误如下:
Error: could not update backend NAS-HC-615: cannot update backend 'NAS-HC-615' created using TridentBackendConfigCR; please update the TridentBackendConfigCR (400 Bad Request)
- 编辑 TBC 不会更新已移动卷的池信息。
- 源聚合和目标聚合都保留在 SVM
aggr-list中。