# Iscis target not found in iscis client + add security CHAP in isci with linstor-gateway

**URL:** <https://forums.linbit.com/t/iscis-target-not-found-in-iscis-client-add-security-chap-in-isci-with-linstor-gateway/328>\
**Category:** General\
**Created:** [September 26, 2024, 2:32pm UTC](https://forums.linbit.com/t/iscis-target-not-found-in-iscis-client-add-security-chap-in-isci-with-linstor-gateway/328 "2024-09-26T14:32:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrhassan60](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mrhassan60](https://forums.linbit.com/u/mrhassan60)\
**Post date:** [September 26, 2024, 2:32pm UTC](https://forums.linbit.com/t/iscis-target-not-found-in-iscis-client-add-security-chap-in-isci-with-linstor-gateway/328/1 "2024-09-26T14:32:34Z")

</div>

Hello,  
I have one problem and one question.

**Problem:**  
I followed the instructions in a tutorial: [Create a Highly Available iSCSI Target Using a LINSTOR Gateway Cluster - LINBIT](https://linbit.com/blog/create-a-highly-available-iscsi-target-using-linstor-gateway/).  
I have 3 servers running Ubuntu Server 24.04:

- alfa: 192.168.0.50
- beta: 192.168.0.51
- charlie: 192.168.0.52

And my iSCSI target is **iqn.2024-09.com.linbit:mytargetcrio**

, with the IP: 192.168.0.222/24.  
Server **alfa** is the controller node.

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/linbit/original/1X/5fbfc2711791e0346b1e1ac923346c6a12ae643d.png)  
However, on the Windows iSCSI client or the Debian iSCSI client, I cannot find the iSCSI target at IP address 192.168.0.222.

How can I solve this problem?

After solving this problem, how can I add CHAP authentication to the LINBIT gateway?

---

<div class="post-metadata">

**Author:** ![Ryan](https://yyz1.discourse-cdn.com/flex003/user_avatar/forums.linbit.com/ryan/32/42_2.png) [@Ryan](https://forums.linbit.com/u/Ryan)\
**Post date:** [September 30, 2024, 8:54pm UTC](https://forums.linbit.com/t/iscis-target-not-found-in-iscis-client-add-security-chap-in-isci-with-linstor-gateway/328/2 "2024-09-30T20:54:46Z")

</div>

With 24.04, I’d make sure the correct resource agents packages are installed (now two packages compared to 22.04), `resource-agents-base` and `resource-agents-extra`.

What does `linstor-gateway check-health --iscsi-backends lio` report on the nodes?

---

<div class="post-metadata">

**Author:** ![mrhassan60](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mrhassan60](https://forums.linbit.com/u/mrhassan60)\
**Post date:** [October 1, 2024, 9:21am UTC](https://forums.linbit.com/t/iscis-target-not-found-in-iscis-client-add-security-chap-in-isci-with-linstor-gateway/328/3 "2024-10-01T09:21:36Z")

</div>

I used the command on Ubuntu 24.04:

`apt -y install resource-agents-extra targetcli-fb`  
Do I need to use `apt -y install resource-agents targetcli-fb` instead?

For the question: What does `linstor-gateway check-health --iscsi-backends lio` report on the nodes?

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/linbit/original/1X/50dc5f009a4d9f57dc9aa431247d08cf40f01502.png)

---

<div class="post-metadata">

**Author:** ![JimMcNamara](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@JimMcNamara](https://forums.linbit.com/u/JimMcNamara)\
**Post date:** [October 3, 2024, 8:22pm UTC](https://forums.linbit.com/t/iscis-target-not-found-in-iscis-client-add-security-chap-in-isci-with-linstor-gateway/328/4 "2024-10-03T20:22:41Z")

</div>

I have the same situation with my setup, built following the same instructions as you. Any linstor commands shows the expected results of things being alive, but clients are not able to see them.

To use CHAP, I used the following command, but I can’t be certain it worked as no clients see the space through iscsi!

linstor-gateway iscsi create ${YOUR\_IQN} ${YOUR\_IP}/${YOUR\_CIDR} ${YOUR\_SIZE} --username=${CHAP\_USER} --password=${CHAP\_PASS}

---

<div class="post-metadata">

**Author:** ![mrhassan60](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mrhassan60](https://forums.linbit.com/u/mrhassan60)\
**Post date:** [October 17, 2024, 9:31am UTC](https://forums.linbit.com/t/iscis-target-not-found-in-iscis-client-add-security-chap-in-isci-with-linstor-gateway/328/5 "2024-10-17T09:31:01Z")

</div>

Hello,  
could this be a firewall issue? Which UDP/TCP ports should I enable to maybe resolve the problem?"  
i use ufw for firewall on Ubuntu
