I guess the problem comes from failure of the function getDeviceWWNWithSCSIID() in gobrick mudule, as scsi_id cannot be found in Powerstore CSI Node image and there's no wwid file created for the scanned dev in K8S node.
Actually, from the CSI Node driver log, multipath can use chroot correctly, but scsi_id not. Compared the two files in gobrick module:
Jae.Liang
2 Posts
0
September 28th, 2021 18:00
Some background information:
1.Operating System and its version: A: centos 7.6
2.Orchestrator type and its version (e.g., Kubernetes v1.19.4 or OpenShift 4.7): A: Kubernetes v1.18.17
3.Driver Version (e.g., CSI-PowerScale 1.7): A: CSI-Powerstore 1.3
4.Installer Type (Helm or Operator); In case of Operator, its version: A: Operator
5.Storage array version: A: Powerstore 2.0.0.0
Flo_csI
2 Intern
•
167 Posts
0
September 29th, 2021 08:00
Hi @Jae.Liang,
Can you share the logs of the driver (controller + node from which the Pod is running)?
Thanks
DevilFlying
1 Message
0
September 29th, 2021 16:00
Hi @Flo_csI
the field team engaged support for this issue, then I created CSITRIDENT-1009 . All logs were uploaded to the CSITRIDENT-1009.
I checked the logs, found the work node can't read the device when scan the devices via iscsi .
But not sure about it, so raised a ticket.
Ryan Bao
2 Posts
0
October 1st, 2021 19:00
Hi,Flo_csl.
I guess the problem comes from failure of the function getDeviceWWNWithSCSIID() in gobrick mudule, as scsi_id cannot be found in Powerstore CSI Node image and there's no wwid file created for the scanned dev in K8S node.
Actually, from the CSI Node driver log, multipath can use chroot correctly, but scsi_id not. Compared the two files in gobrick module:
https://github.com/dell/gobrick/blob/master/pkg/scsi/scsi.go
https://github.com/dell/gobrick/blob/master/pkg/multipath/multipath.go
There's a minor difference, looks like there's a line missing in scsi.go, which cause s.chroot is nil, then chroot scsi_id is not working: