TRID-20169: Stale VolumeAttachment after unstage of an ontap-san iSCSI volume
Issue
- After a pod that uses an ontap-san ReadWriteOnce iSCSI volume is moved to another node, the new pod can stay in ContainerCreating with a Multi-Attach error.
- The VolumeAttachment for that volume is still attached to the previous node, so Kubernetes does not attach the volume anywhere else.
- This shows up when many iSCSI volumes with dm-multipath are unpublished at the same time, for example when a StatefulSet is scaled down and then scaled back up. NAS volumes are not affected
