メインコンテンツへスキップ

Trident CSI NodeUnstage失敗:LUNクリーンアップの前にiSCSIセッションのログアウトが発生しました

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

環境

  • NetApp Trident CSIドライバー(バージョン25.02.1以前、特に23.07および24.02)
  • iSCSIをバックエンドとする永続ボリュームを使用するKubernetesクラスター
  • Ubuntu 22.04ワーカーノード(マルチパス有効)
  • iSCSIを使用したマルチアタッチシナリオ
  • TridentがiSCSIセッションのライフサイクルを管理する環境

問題

永続ボリューム(PV)のデタッチ(NodeUnstage)処理中に、Tridentは、依存するすべてのLUNが完全にクリーンアップされる前に、複数のボリュームで共有されているiSCSIセッションからログアウトします。これにより、同じセッションを使用する他のボリュームに対する後続のNodeUnstage処理がデバイス検出エラーで失敗し、PVがスタックした状態になり、復旧にはホストの再起動が必要になります。

現象:

  • Kubeletログには、永続的なUnmountDevice障害と「multi-attach」エラーが表示されます。
  • Tridentログには繰り返し以下が表示されます:

 level=warning msg="Could not get device info for removal, skipping host removal steps." error="scan not completed for LUN6 on target iqn.1992-08.com.netapp:sn.<serial>:vs.<vserver-id>"

  • Tridentデバッグログ:
Logging out of session [sid:61,target:iqn.1992-08.com.netapp:sn.<masked>:vs.<id>,portal:10.x.x.x,3260] Logout of [sid:61,target:iqn.1992-08.com.netapp:sn.<serial>:vs.<vserver-id>,portal:10.x.x.x,3260] successful. ... Could not get device info for removal, skipping host removal steps. error="scan not completed for LUN6 on target iqn.1992-08.com.netapp:sn.<serial>:vs.<vserver-id>"
  • 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.