iscsid.service causing multiple (and unstoppable) log entries

rslippers

New Member
Oct 19, 2024
4
0
1
I'm experiencing this issue in system log:
Code:
Oct 27 20:07:58 roma kernel:  connection1:0: detected conn error (1020)
Oct 27 20:07:59 roma iscsid[2944602]: connection1:0 login rejected: initiator error - target not found (02/03)
Oct 27 20:07:59 roma iscsid[2944602]: Kernel reported iSCSI connection 1:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (1)
Oct 27 20:08:00 roma kernel:  connection1:0: detected conn error (1020)
Oct 27 20:08:01 roma iscsid[2944602]: connection1:0 login rejected: initiator error - target not found (02/03)
Oct 27 20:08:01 roma iscsid[2944602]: Kernel reported iSCSI connection 1:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (1)
Oct 27 20:08:02 roma kernel:  connection1:0: detected conn error (1020)
Oct 27 20:08:03 roma iscsid[2944602]: connection1:0 login rejected: initiator error - target not found (02/03)
Oct 27 20:08:03 roma iscsid[2944602]: Kernel reported iSCSI connection 1:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (1)
Oct 27 20:08:04 roma kernel:  connection1:0: detected conn error (1020)
Oct 27 20:08:05 roma iscsid[2944602]: connection1:0 login rejected: initiator error - target not found (02/03)
Oct 27 20:08:05 roma iscsid[2944602]: Kernel reported iSCSI connection 1:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (1)
Oct 27 20:08:06 roma kernel:  connection1:0: detected conn error (1020)
Oct 27 20:08:07 roma iscsid[2944602]: connection1:0 login rejected: initiator error - target not found (02/03)
Oct 27 20:08:07 roma iscsid[2944602]: Kernel reported iSCSI connection 1:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (1)
Oct 27 20:08:08 roma kernel:  connection1:0: detected conn error (1020)
Oct 27 20:08:09 roma iscsid[2944602]: connection1:0 login rejected: initiator error - target not found (02/03)
Oct 27 20:08:09 roma iscsid[2944602]: Kernel reported iSCSI connection 1:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (1)

It is ferverous and unyielding. I can only stop this by stopping the iscsid.service.

I have recently removed (through the GUI) an iSCSI LUN. Since then, this is happening.
 
hi @rslippers ,

You have, for one reason or another, a stale iSCSI connection. It's active from the point of view of Initiator (PVE host) but is no longer valid on the Target (NAS?) side.
The error message you are seeing means that your PVE host is trying to login to iSCSI target that no longer exists.
A reboot may solve it, however you can simply delete the rogue iSCSI session.

i.e.:
iscsiadm -m session
sudo iscsiadm -m node -T iqn.2022-04.com.example:target1 -p 10.0.0.2 --logout
sudo iscsiadm -m node -T iqn.2022-04.com.example:target1 -p 10.0.0.2 --op=delete


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Y0plait