Containers

Last reply by 02-17-2022 Unsolved
Start a Discussion
1 Copper
1 Copper
898

Kubernetes Could not get iscsi iscsiTargets: can`t get iscsi target address

Hi,

 

We are getting an error in k8s when we try to attach a volume from Dell EMC PowerStore to a pod in a StatefulSet application, do you have an idea why?

What we`ve done:

- Deployment of CSI driver was successfully. (Initialization of plugin pods on Kubernetes nodes and initiator group for PowerStore storage)

- We tried to test PVCs and StatefulSet, volumes were successfully created but the pods remain in Creating state and from running command kubctl describe the pod we get the below error:

Warning FailedAttachVolume 4m35s (x45 over 79m) attachdetach-controller AttachVolume.Attach failed for volume "csi-a571c6d7b1" : rpc error: code = Internal desc = Could not get iscsi iscsiTargets: can't get iscsi target address
Warning FailedMount 3m2s (x29 over 77m) kubelet, cl-k4s-k8s-node-nf-1 Unable to attach or mount volumes: unmounted volumes=[pvol1], unattached volumes=[pvol1 powerstoretest-token-tkvng]: timed out waiting for the condition

 

If we run on the worker node iscsiadm -m session we get the active sessions to PowerStore.

iscsiadm -m session
tcp: [1] 10.x.x.x:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-crk00214904463-a-18e9fe39 (non-flash)
tcp: [2] 10.x.x.y:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-crk00214904463-b-2a676a3b (non-flash)

 

Thanks in advance!

Replies (3)
Dell Technologies
862

Hi Stefan,

Do you mind connecting the slack channel for Container Storage Module here : https://dellemccsm.slack.com/ 

If you need an invite you can ask for it here : http://del.ly/Slack_request

 

There is a broader audience to answer your question.

 

We will need the logs from both the controller and driver to understand why the iscsi target are not discovered.

 

Thanks

2 Bronze
2 Bronze
828

Deployment of CSI driver was successfully. (Initialization of plugin pods on Kubernetes nodes clicker counter  and initiator group for PowerStore storage)

- We tried to test PVCs and StatefulSet, volumes were successfully created but the pods remain in Creating state and from running command kubctl describe the pod we get the below error:

Dell Technologies
818

The error was not posted. when you do a get pv and get pvc do you see any errors or are they bound?

Latest Solutions
Top Contributor