Skip to main content
NetApp Knowledge Base

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

Views:
73
Visibility:
Public
Votes:
0
Category:
trident-openshift
Specialty:
snapx
Last Updated:

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.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.