Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: PowerStore CSI driver version 2.12 - only supports the default interface for iSCSI discovery. #1714

Open
Abrarsy opened this issue Jan 24, 2025 · 2 comments
Assignees
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

Comments

@Abrarsy
Copy link

Abrarsy commented Jan 24, 2025

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:

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

@Abrarsy Abrarsy added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels Jan 24, 2025
@csmbot
Copy link
Collaborator

csmbot commented Jan 24, 2025

@Abrarsy: Thank you for submitting this issue!

The issue is currently awaiting triage. Please make sure you have given us as much context as possible.

If the maintainers determine this is a relevant issue, they will remove the needs-triage label and respond appropriately.


We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at container.storage.modules@dell.com.

@Abrarsy Abrarsy changed the title [BUG]: PowerStore CSI driver version 2.12 - only supports the default interface for iSCSI discovery. It will not work with any other interfaces [BUG]: PowerStore CSI driver version 2.12 - only supports the default interface for iSCSI discovery. Jan 24, 2025
@suryagupta4 suryagupta4 added area/csi-powerstore Issue pertains to the CSI Driver for Dell EMC PowerStore and removed needs-triage Issue requires triage. labels Jan 29, 2025
@suryagupta4 suryagupta4 added this to the v1.14.0 milestone Jan 29, 2025
@suryagupta4
Copy link

link: ECS01A-61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

5 participants