Error when Pods are rescheduled - error publishing ontap-san driver: problem mapping LUN. attr: LUN already mapped to initiator(s) in this group
Applies to
- Astra Trident 23.01
- OpenShift
Issue
POD reschedule [when a POD is deleted, its rescheduled either on the same node or a different node] causes the below error:
Warning FailedAttachVolume 4m40s (x216 over 7h9m)
attachdetach-controller AttachVolume.Attach failed for volume "pvc-4cfbeb51-b2b9-4631-beb1-7ee1a12196ae" : rpc error: code =
Internal desc = error publishing ontap-san driver: problem mapping LUN
/vol/ocp_iscsi_nonprod_pvc_4cfbeb51_b2b9_4631_beb1_7ee1a12196ae/lun0: results: {http://www.netapp.com/filer/admin
results}
status,attr: failed
reason,attr: LUN already mapped to initiator(s) in this group
errno,attr: 9039
lun-id-assigned:
nil