Dell 容器儲存模組 (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.