Trident second PV SAN deployment fails with igroup already contains initiator
Applies to
- Trident for Kubernetes and Openshift (25.06.2)
- ontap-san driver
- ontap-san-economy driver
Issue
A Trident backend configured with ontap-san fails to deplooy a second LUN to the same node.
The following error message is shown in the trident logs, with a message from ONTAP embedded:
Warning FailedAttachVolume attachdetach-controller AttachVolume.Attach failed for volume "pvc-<PV-UUID>" : rpc error: code = Unknown desc = error publishing LUN pvc_<PV_UUID>_trident_<BACKEND_PREFIX>_test_pvc_2: error adding IQN iqn.2026-01.com.netstal:<HOSTNAME>.[HexCode] to igroup <HOSTNAME>-<BACKEND-UUID>: [POST /protocols/san/igroups/{igroup.uuid}/initiators][409] igroup_initiator_create default {"error":{"code":"5374035","message":"Initiator group \"<HOSTNAME>-<BACKEND-UUID>\" already contains initiator \"iqn.2026-01.com.netstal:<HOSTNAME>.[hexcode]\".","target":"name"}}