Unable to attach volumes coming from the NetApp Trident CSI on OpenShift nodes

Solution Verified - Updated -

Issue

  • Failing to attach volume (PV) created from NetApp Trident CSI on OpenShift nodes due to the following error.
2022-05-05T22:49:22.996562065Z I0505 22:49:22.996522       1 reconciler.go:295] attacherDetacher.AttachVolume started for volume "pvc-xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" (UniqueName: "kubernetes.io/csi/csi.trident.netapp.io^pvc-xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx") from node "node1.example.com" 
2022-05-05T22:49:23.551492725Z E0505 22:49:23.551344       1 csi_attacher.go:698] kubernetes.io/csi: attachment for pvc-xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx failed: rpc error: code = Internal desc = unable to update node access rules on backend backend-tbc-ontap-san; error removing IQN iqn.xxxx-xx.com.example:xxxxxxxxxxxx from igroup trident-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx: error removing IQN iqn.xxxx-xx.com.example:xxxxxxxxxxxx from igroup trident-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx: API status: failed, Reason: LUN maps for this initiator group exist, Code: 9029
2022-05-05T22:49:23.551524487Z I0505 22:49:23.551514       1 event.go:291] "Event occurred" object="project1/pod1" kind="Pod" apiVersion="v1" type="Warning" reason="FailedAttachVolume" message="AttachVolume.Attach failed for volume \"pvc-xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx\" : rpc error: code = Internal desc = unable to update node access rules on backend backend-tbc-ontap-san; error removing IQN iqn.xxxx-xx.com.example:xxxxxxxxxxxx from igroup trident-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx: error removing IQN iqn.xxxx-xx.com.example:xxxxxxxxxxxx from igroup trident-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx: API status: failed, Reason: LUN maps for this initiator group exist, Code: 9029"

Environment

  • Red Hat OpenShift Container Platform [RHOCP]

    • 4.x
  • NetApp Trident CSI

    • 21.10.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content