ISCSI on Synology Timeout

filovitch

Member
Sep 30, 2018
1
1
6
40
Hi everyone,
Very new on the proxmox project, I give it a try to setup a homelab.

I am trying to setup a connection to an ISCI LUN on a synology NAS on the same network. The discovery is OK (I can list the different target) but when I try to validate the connection, I have a timeout message. If I refresh the page, the iscsi datastore is available but I do not think it is a normal behavior.

If I delete the datastore, it does not correctly delete the connection. I need to delete it manually with iscsiadm command.

Here is the log when I try to add the datastore.

Code:
root@promox:/var/log# cat syslog | grep iscsi
...
Sep 30 08:25:37 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:25:37 promox iscsid: Connection10:0 to [target: iqn.2000-01.com.synology:nas2.Target-1.fc5dc7d548, portal: 192.168.1.20,3260] through [iface: default] is operational now
Sep 30 08:25:40 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:25:43 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:25:46 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:25:49 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:25:52 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:25:55 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:25:58 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:01 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:04 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:07 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:10 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:13 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:16 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:19 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:22 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:25 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
Sep 30 08:26:28 promox iscsid: cannot make a connection to fe80::211:32ff:fe8c:e7d5:3260 (-1,22)
root@promox:/var/log# iscsiadm -m session
tcp: [10] 192.168.1.20:3260,1 iqn.2000-01.com.synology:nas2.Target-1.fc5dc7d548 (non-flash)
root@promox:/var/log# iscsiadm -m discovery -t st -p 192.168.1.20
192.168.1.20:3260,1 iqn.2000-01.com.synology:nas2.Target-1.fc5dc7d548
[fe80::211:32ff:fe8c:e7d5]:3260,1 iqn.2000-01.com.synology:nas2.Target-1.fc5dc7d548

Do I miss something?
 
  • Like
Reactions: DrewHof
I too am very new to Proxmox (coming from Hyper-V) and also was setting up iSCSI from my proxmox box to Synology.

Set up the LUN on the Synology system and set up (non-mutual) CHAP. Modified /etc/iscsi/iscsid.conf on proxmox with CHAP details.

Code:
May 26 12:15:51 proxv3 systemd[1]: iscsid.service: Succeeded.
May 26 12:15:51 proxv3 systemd[1]: Stopped iSCSI initiator daemon (iscsid).
May 26 12:15:51 proxv3 systemd[1]: Starting iSCSI initiator daemon (iscsid)...
May 26 12:15:51 proxv3 iscsid: iSCSI logger with pid=130191 started!
May 26 12:15:51 proxv3 systemd[1]: Started iSCSI initiator daemon (iscsid).
May 26 12:15:52 proxv3 iscsid: iSCSI daemon with pid=130192 started!
May 26 12:17:01 proxv3 CRON[130332]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May 26 12:17:22 proxv3 kernel: [52814.207050] scsi host7: iSCSI Initiator over TCP/IP
May 26 12:17:23 proxv3 iscsid: cannot make a connection to fe80::211:32ff:feb7:1535:3260 (-1,22)
May 26 12:17:23 proxv3 iscsid: Login failed to authenticate with target iqn.2000-01.com.synology:synnas.Target-1.7b256683236
May 26 12:17:23 proxv3 iscsid: session 904 login rejected: Initiator failed authentication with target
May 26 12:17:23 proxv3 iscsid: Connection904:0 to [target: iqn.2000-01.com.synology:synnas.Target-1.7b256683236, portal: 192.168.0.20,3260] through [iface: default] is shutdown.
May 26 12:17:28 proxv3 iscsid: cannot make a connection to fe80::211:32ff:feb7:1535:3260 (-1,22)
May 26 12:17:31 proxv3 iscsid: cannot make a connection to fe80::211:32ff:feb7:1535:3260 (-1,22)
May 26 12:17:34 proxv3 iscsid: cannot make a connection to fe80::211:32ff:feb7:1535:3260 (-1,22)

The only way I've been able to get it to work so far is to disable CHAP on my Synology iSCSI target.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!