戴尔容器存储模块 (CSM) 系列:无法在 Unity 阵列上注册 Kubernetes 主机
Summary: 由于 IPv6 配置错误,Kubernetes 主机可能无法在 Unity 阵列上注册。本文提供有关此问题及其解决步骤的信息。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Unity CSI 节点驱动程序无法在 Unity 阵列上注册 Kubernetes 主机。可能存在以下错误:
提醒:仅当在 CSI 驱动程序中启用调试日志记录时,以下日志条目才明显。
错误 #1
time="2024-12-06T01:07:54Z" level=debug arrayid=de400243902703 runid=node-2 msg="Adding iSCSI Initiator: Host_34 to host: iqn.2004-10.com.ubuntu:01:52c55542e014 time="2024-12-06T01:07:55Z" level=debug runid=node-2 msg="Adding node [de400243902703] failed, Error: [rpc error: code = Internal desc = runid= Adding iSCSI initiator error: initiator found (iqn.2004-10.com.ubuntu:01:52c55542e014), and attached to someother host (Host_33) instead of host: Host_34]" func="github.com/dell/csi-unity/service.(*service).syncNodeInfo.func2.1()" file="/go/src/csi-unity/service/node.go:1835"
错误 #2
time="2024-12-06T01:07:54Z" level=debug runid=node-2 msg="Adding node [de400243902703] failed, Error: [[{Invalid IPV6 address fe80::f816:3eff:fe85:895a%ens3. (Error Code:0x7d13115)}]]" func="github.com/dell/csi-unity/service.(*service).syncNodeInfo.func2.1()" file="/go/src/csi-unity/service/node.go:1835"
错误 #3
time="2024-12-09T00:59:17Z" level=debug arrayid=de400243902703 runid=node-5 msg="Adding node [de400243902703] failed, Error: [rpc error: code = Internal desc = runid= Host has got foreign Initiators. Host initiators on the array require correction before proceeding further.]" func="github.com/dell/csi-unity/service.(*service).syncNodeInfo.func2.1()" file="/go/src/csi-unity/service/node.go:1835"
Cause
Kubernetes 群集中的主机是从模板克隆的。每个主机都具有相同的 iSCSI 启动器和错误配置的 IPv6 接口。
Resolution
要解决此问题,请执行以下步骤:
- 确保每个主机的 iSCSI 限定名称 (IQN) 是唯一的。克隆的虚拟机 (VM) 可能需要重新生成 IQN。
- 如果未使用 IPv6 网卡,请禁用它。
- 删除阵列上存在的任何与注册的主机关联的过时启动器
提醒:如果发生 Kubernetes 节点从 Unity 卷启动的事件,主机网络地址可能已注册到 Unity,并阻止驱动程序注册成功完成。
要解决此问题,请删除与主机关联的任何网络地址,并让 CSI 驱动程序在驱动程序节点 Pod 重新启动时自动注册网络地址。
要解决此问题,请删除与主机关联的任何网络地址,并让 CSI 驱动程序在驱动程序节点 Pod 重新启动时自动注册网络地址。
Article Properties
Article Number: 000259460
Article Type: Solution
Last Modified: 11 Mar 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.