跳转到主内容

在 ONTAP 节点故障转移期间创建的 Trident iSCSI PVC 在回切后只有单个路径

Views:
14
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
snapx
Last Updated:

适用于

  • Trident
  • 使用 Trident iSCSI 后端的 Kubernetes 集群
  • Linux Kubernetes 工作节点

问题

现象:

  • 当在 ONTAP 节点故障转移事件期间(例如在 ONTAP 升级期间)创建新的 PersistentVolumeClaim (PVC) 时,仅为 LUN 建立一个 iSCSI 路径。
  • 在存储回馈之后(当节点恢复服务时),这些 PVC 的多路径不会恢复,只有单个 iSCSI 路径仍然可用。
  • 这会影响冗余,并可能影响应用程序的高可用性。

日志输出示例:

  • multipath -ll 在受影响节点上仅显示新 LUN 的单个路径。
  • iscsiadm -m session 确认 PVC/LUN 只有一个活动 iSCSI 会话。
  • PVC 创建期间的 Trident 控制器日志:
    time="2026-07-10T03:36:57Z" level=debug msg="DataLIFs with reporting nodes." logLayer=core reportedDataLIFs="[10.X.X.X]" ...
    (受影响的 PVC 仅列出一个 DataLIF;健康的 PVC 列出两个 DataLIF。)

条件:

  • 仅影响在 ONTAP 节点处于接管(故障转移)状态时创建的 PVC。
  • 升级前或完全回馈后创建的 PVC 不会受到影响。
  • 问题在回馈后仍然存在;多路径不会自动恢复。

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.