Skip to main content
NetApp Knowledge Base

PVC Resize Concurrent with Pod Termination Causes Multipath Device Mismatch and CSI Unmount Failure

Views:
104
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
SNAPX
Last Updated:

Applies to

  • NetApp Trident
  • Kubernetes

Issue

When a PVC resize occurs while the application pod using that volume is terminating, the CSI unmount process can fail. This leads to:

  • CSI unmount and flush device timeouts
  • Multipath device size mismatch and path reconciliation failures
  • Hung I/O causing delayed cgroup and container cleanup
  • Node reboot required to restore device state

NetApp Storage Logs:

NOTICE: SAN::LUN resize_imp: vserver: <SVM>,
path: /vol/trident_pvc_xxxxxxx/lun0,
size: 858993459200

Kubelet Logs:

UnmountDevice failed: flush device failed for /dev/dm-0 : process killed after timeout
Failed to delete cgroup paths ... Timed out while waiting for systemd ...

Trident Logs:

GRPC error: rpc error: code = Internal desc = flush device failed for /dev/dm-0 : process killed after timeout
failed to unstage volume

 

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.