跳转到主内容

适用于 OpenShift 等环境的新版 Linux open-iscsi 启动程序 可能不起作用

Views:
15
Visibility:
Public
Votes:
0
Category:
element-software
Specialty:
solidfire
Last Updated:

适用场景

  • 支持的 Linux open-iscsi 启动程序版本
  • Element 软件
  • RedHat OpenShift

问题描述

较新版本的 Linux open-iscsi 启动程序 2.1.1 或更高版本在未应用解决方法的情况下,可能无法与 Element 软件建立 iSCSI 会话。

RedHat OpenShift 特定问题:

将 OpenShift 从 4.4.12 版升级到 4.4.13 版,然后升级到 4.5 版后,无法使用 NetApp Trident PVC 配置 Pod 。由于 K8s/OpenShift 工作节点无法与 Element 建立 iSCSI 会话, Pod 停留在 " 容器创建 " 状态。

在将 open-iscsi 启动程序升级到 2.1.1 或更高版本或将 OpenShift 升级到 4.4.13 或更高版本后, iSCSI 会话登录出现问题。Linux 主机和 OpenShift 工作节点无法建立 iSCSI 会话。

使用以下签名时会发现 iSCSI 会话问题:

[root@node-1 ~]# iscsiadm -m session
iscsiadm: No active sessions.

In /var/log/messages on the worker node:

Jul 30 04:12:36 node-1 iscsid[1372]: iscsid: Login authentication failed with target iqn.2010-01.com.solidfire:3x71.pvc-7489898e-087b-4db0-b211-e5b254074d56.1
Jul 30 04:12:36 node-1 iscsid[1372]: iscsid: Kernel reported iSCSI connection 207:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (1)
Jul 30 04:12:41 node-1 iscsid[1372]: iscsid: Login failed to authenticate with target iqn.2010-01.com.solidfire:3x71.pvc-7489898e-087b-4db0-b211-e5b254074d56.1
Jul 30 04:12:41 node-1 iscsid[1372]: iscsid: session 207 login rejected: Initiator failed authentication with target
Jul 30 04:12:41 node-1 iscsid[1372]: iscsid: Connection207:0 to [target: iqn.2010-01.com.solidfire:3x71.pvc-7489898e-087b-4db0-b211-e5b254074d56.1, portal: 192.168.1.50,3260] through [iface: default] is shutdown.

在调查期间 /etc/iscsi/iscsid.conf ,在工作节点中的文件中,观察到以下行:
node.session.auth.chap_algs = SHA3-256,SHA256,SHA1,MD5

 

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.