由于/API/protocols、NVMe/subsystem-maps错误、NVMe/TCP后端的连接PV失败
适用场景
- Astra三端
- ONTAP 9.5及更高版本
- 已在NVMe/TCP后端配置PV
问题描述
- 无法将PV连接到POD
- 命令
kubectl describe pod <POD>
指示错误:
AttachVolume.Attach failed for volume "<PV>" : rpc error: code = Unknown desc = [POST /protocols/nvme/subsystem-maps][409] nvme_subsystem_map_create default &{Error:0xc000d291d0}
trident-controller
日志还指示POST/protocols/nvme/subsystem-maps
失败
level=error msg="add namespace to subsystem failed, [POST /protocols/nvme/subsystem-maps][409] nvme_subsystem_map_create default &{Error:0xc0016970e0}" logLayer=core requestID=<REQUESTID> requestSource=CSI workflow="controller=publish"
level=error msg="[POST /protocols/nvme/subsystem-maps][409] nvme_subsystem_map_create default &{Error:0xc0016970e0}" Method=ControllerPublishVolume Type=CSI_Controller logLayer=csi_frontend requestID=<REQUESTID> requestSource=CSI workflow="controller=publish"
level=error msg="GRPC error: rpc error: code = Unknown desc = [POST /protocols/nvme/subsystem-maps][409] nvme_subsystem_map_create default &{Error:0xc0016970e0}" logLayer=csi_frontend requestID=<REQUESTID> requestSource=CSI
AUDIT-MLOG-TXT.GZ
在ONTAP中、表示POST/protocols/nvme/subsystem-maps
失败、因为特定节点上未配置NVMe LUN
POST /api/protocols/nvme/subsystem-maps : .. :: Error: The node "<NODE>" has no NVMe over Fabrics LIFs configured for SVM "<SVM>".