跳转到主内容

Astra Trident:挂载卷失败,错误为"找不到 iSCSI 设备"

Views:
43
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
astra
Last Updated:

适用于

  • Astra Trident
  • iSCSI
  • FCP

问题

挂载卷失败,出现错误"Could not find iSCSI device",无法在工作节点中运行 lsscsi 命令。

iSCSI:

time="xxxxx" level=debug msg="<<<< osutils.execCommand." command=lsscsi error="exit status 2" output="panic: lsscsi not found\n\ngoroutine 1 [running]:\nmain.main()\n\t/go/src/github.com/netapp/trident/chwrap/chwrap.go:66 +0x19f" requestID=79454f51-7e48-467e-a3ab-4545d1b85a57 requestSource=CSI

{"@timestamp":"xxxxx","level":"error","message":"GRPC error: failed to open disk /dev/sdf: open /dev/sdf: no such device or address","requestID":"344db075-7189-4935-8ae1-07fb050c2af6","requestSource":"CSI"}
{"@timestamp":"xxxxx","error":"Unable to find key","level":"error","message":"could not read transactions","requestID":"ea100571-21d5-43d0-ade8-8448f3689b17","requestSource":"Internal"}
{"@timestamp":"xxxxx","level":"warning","message":"Could not find all devices after 90 seconds.","requestID":"79281bc0-89a3-4f3c-9cb6-3f1bcbeb3b8a","requestSource":"CSI"}
{"@timestamp":"xxxxx","level":"error","message":"Could not find iSCSI device: no devices present yet","requestID":"79281bc0-89a3-4f3c-9cb6-3f1bcbeb3b8a","requestSource":"CSI"}

FCP:

 Normal   SuccessfulAttachVolume  75m          attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-UUID"
  Warning  FailedMapVolume      106s (x38 over 74m)  kubelet          MapVolume.SetUpDevice failed for volume "pvc-UUID" : rpc error: code = Internal desc = rpc error: code = Internal desc = failed to stage volume: no devices present yet


level=debug msg="<<<<Execute." command=lsscsi error="exit status 2" logLayer=csi_frontend output="panic: lsscsi not found\n\ngoroutine 1 [running]:\nmain.main()\n\t/go/src/github.com/netapp/trident/chwrap/chwrap.go:39 +0x314" requestID=886f463d-af4b-4296-900f-6e1a91eeaa13 requestSource=CSI workflow="node_server=stage"

level=error msg="Could not find FCP SCSI device: no devices present yet" logLayer=csi_frontend requestID=886f463d-af4b-4296-900f-6e1a91eeaa13 requestSource=CSI workflow="node_server=stage"

level=debug msg="Attach FCP volume is not complete, waiting." error="no devices present yet" increment=1.06296001s logLayer=csi_frontend requestID=886f463d-af4b-4296-900f-6e1a91eeaa13 requestSource=CSI workflow="node_server=stage"

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.