跳转到主内容

PV 停留在正在终止状态,无法删除

Views:
4
Visibility:
Public
Votes:
2
Category:
astra_trident<a>用于翻译</a>
Specialty:
snapx
Last Updated:

适用场景

Trident , Kubernetes

问题描述

PV 停留在终止状态。  PV 不再挂载在工作节点上。没有具有相应 PVC 的 Pod 。日志中记录的错误格式如下:
 
VolumeFailedDelete persistentvolume <pvc> is still attached to node <node hostname>
 
对工作节点上已挂载的 PV 进行检查将发现指定的 PVC/PV 不再挂载
使用命令检查 kubectl get pvc以确认 PVC 不再存在 
使用命令检查 kubectl get pv将显示 PV 存在 
有关 PV 的更多信息,请访问  kubectl describe pv <pvc/pv name as seen in error above>
观察 PV 是否处于终止状态。PV 的事件日志中记录了与上述相同的错误消息
 
 

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.