[BUG]: PowerStore CSI driver version 2.12 - only supports the default interface for iSCSI discovery. #1714
Labels
area/csi-powerstore
Issue pertains to the CSI Driver for Dell EMC PowerStore
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
I've set up OpenShift Cluster 4.16 and CSI for PowerStore 12.2 (iSCSI)
OpenShift cluster node has four interfaces, and I've set up two OOB and two iSCSI private networks.
After the deployment, I attempted to test CSI using the sample script included in the CSI bundle.
I noticed during the test that the pods were crashing or entering a pending state with the following error.
Warning FailedMount 3m27s (x119 over 3h49m) kubelet MountVolume.MountDevice failed for volume "csivol-d035b54589" : rpc error: code = InvalidArgument desc = Targets data must be in publish context
0/3 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.
Below is the command output:
oot@b4-83-51-02-da-70 core]# iscsiadm -m discovery -t st -p 192.168.76.1
iscsiadm: cannot make connection to 192.168.76.1: No route to host
iscsiadm: cannot make connection to 192.168.76.1: No route to host
^Ciscsiadm: caught SIGINT, exiting...
According to the CSI engineer, the OpenShift host on my setup has multiple interfaces, and an ISCSI interface is not the default interface.
The current PowerStore CSI driver version 2.12 only supports the default interface for iSCSI discovery. It will not work with any other interfaces.
For your reference, you can see the relevant code snippets that demonstrate this limitation:
These sections of the code show that the discovery process works only with the default interface.
As seen below, the RHEL CoreOS discovery procedure searches for port and interface information to connect the storage.
[root@b4-83-51-02-da-70 core]# iscsiadm -m discovery -t st -p 192.168.76.1:3260 -I iface0
192.168.76.1:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-apm00243410950-a-0f9492d6
192.168.76.2:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-apm00243410950-b-03651ecf
To resolve the issue, manually specify the port and interface details.
Logs
Warning FailedMount 3m27s (x119 over 3h49m) kubelet MountVolume.MountDevice failed for volume "csivol-d035b54589" : rpc error: code = InvalidArgument desc = Targets data must be in publish context
0/3 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling.
Below is the command output :
oot@b4-83-51-02-da-70 core]# iscsiadm -m discovery -t st -p 192.168.76.1
iscsiadm: cannot make connection to 192.168.76.1: No route to host
iscsiadm: cannot make connection to 192.168.76.1: No route to host
^Ciscsiadm: caught SIGINT, exiting...
Screenshots
Below is the command output :
root@b4-83-51-02-da-70 core]# iscsiadm -m discovery -t st -p 192.168.76.1
root@b4-83-51-02-da-70 core]#iscsiadm -m discovery -t st -p 192.168.76.1:3260 -I iface0
Additional Environment Information
OpenShift Cluster 4.16
CSI for PowerStore 12.2 (iSCSI)
Steps to Reproduce
Below is the command output :
root@b4-83-51-02-da-70 core]# iscsiadm -m discovery -t st -p 192.168.76.1
root@b4-83-51-02-da-70 core]#iscsiadm -m discovery -t st -p 192.168.76.1:3260 -I iface0
Expected Behavior
All the interfaces should support storage array discovery.
CSM Driver(s)
CSI 2.12 Helm-based install
Installation Type
CSI 2.12 Helm based install
Container Storage Modules Enabled
CSI 2.12 Helm based install
Container Orchestrator
OpenShift 4.16
Operating System
RHEL CoreOS
The text was updated successfully, but these errors were encountered: