PVC Expansion Fails with “failed to expand pvc with Expander.NodeExpand failed to expand the volume: rpc error: desc=exit status 1” in OpenShift/Trident/ONTAP
Applies to
- Trident CSI Driver 25.10
- Kubernetes / OpenShift with Trident CSI
- Linux hosts (RHEL/CentOS/other)
Issue
PersistentVolumeClaim (PVC) expansion fails in OpenShift/Kubernetes using Trident CSI with ONTAP backend. The following error is observed:
failed to expand pvc with Expander.NodeExpand failed to expand the volume: rpc error: code=Internal desc=exit status 1
OpenShift reports the PVC in a “FileSystemResizePending” state. The underlying LUN on ONTAP is successfully expanded, but the filesystem resize does not complete on the node. The PVC remains inaccessible, causing application downtime.
If the problematic pod is force deleted, it may not be recreated, and the LUN may appear unmapped on the storage side.
Relevant log output:
oc describe pvc <pvc-name>shows:Waiting for user to (re-)start a pod to finish filesysem resize of volume on node. failed to expand pvc with Expander.NodeExpand failed to expand the volume: rpc error: code=Internal desc=exit status 1
- On the node:
ls: cannot access 'mount': Input/output error
- ONTAP:
LUN shows correct expanded size, but may be unmapped.
