跳转到主内容

在ONTAP中添加新iSCSI LID并删除旧iSCSI LID后、重新启动Pod失败并显示iSCSI登录失败错误

Views:
8
Visibility:
Internal
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

适用场景

NetApp三项功能

问题描述

 在ONTAP中添加新的iSCSI LID并删除旧的iSCSI LID后、重新启动POD失败并显示"iSCSI login failed (iSCSI登录失败)"错误。

Events:
Type    Reason     Age          From    Message
----    ------     ----          ----    -------
Warning  FailedMount  106s (x47 over 97m)  kubelet  MountVolume.MountDevice failed for volume "pvc-name" : rpc error: code = Internal desc = rpc error: code = Internal desc = failed to stage volume: iSCSI login failed

只有在使用以下命令重新启动Pod时、此操作才会失败。 

kubectl get pod pod-name -o yaml | kubectl replace --force -f -

但是、使用以下命令可以成功创建POD。

kubectl delete pod pod-name,然后 kubectl create -f pod.yaml 

 

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

New to NetApp?

Learn more about our award-winning Support

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange