ISCSI errors filling up the syslog file

Sep 26, 2023
90
7
8
Hello.
Running PVE8.1.
I don't have a ISCSI connection to any servers. I initially tried connecting, but deleted the config in the GUI since it wouldn't ever connect.
I've checked the GUI/Storage and /etcpve/storage.cfg for any referrences to ISCSI.

errors are every few seconds and the syslog is 10Gb already. How do I stop this maddness?

2024-02-06T06:55:54.787185-05:00 pve iscsid: connection1:0 login rejected: target error (03/01)
2024-02-06T06:55:56.787370-05:00 pve iscsid: connection1:0 login rejected: target error (03/01)
2024-02-06T06:55:58.787614-05:00 pve iscsid: connection1:0 login rejected: target error (03/01)
2024-02-06T06:56:00.787841-05:00 pve iscsid: connection1:0 login rejected: target error (03/01)
 
storage.cfg and pvesm status show's only 'local' connections or what should be expected (local drive and 1 cifs location for backups).
iscsiadm -m session is showing connections to the iscsi server I tried to set up, but failed. I've removed the iscsi 'block' on the remote side so how can i remove it from the pve side?
 
The first works, but the seconds won't
I get the following error.
.iqn.2000-01.com.synology:SynologyDisk.Target-1.893d32f931

something seems persistant and can't 'kill' or terminate it
 
root@pve:~# iscsiadm -m node show -P1
Target: iqn.2000-01.com.synology:SynologyDisk.Target-3.893d32f931
Portal: 172.16.31.238:3260,1
Iface Name: default
root@pve:~# iscsiadm -m session show -P1
Target: iqn.2000-01.com.synology:SynologyDisk.Target-3.893d32f931 (non-flash)
Current Portal: 172.16.31.238:3260,1
Persistent Portal: 172.16.31.238:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1993-08.org.debian:01:a1963ba4ed3
Iface IPaddress: [default]
Iface HWaddress: default
Iface Netdev: default
SID: 1
iSCSI Connection State: Unknown
iSCSI Session State: FREE
Internal iscsid Session State: Unknown
root@pve:~# iscsiadm -m session -o logout
tcp: [1] 172.16.31.238:3260,1 iqn.2000-01.com.synology:SynologyDisk.Target-3.893d32f931 (non-flash)
root@pve:~# iscsiadm -m node -o delete
iscsiadm: This command will remove the record [iface: default, target: iqn.2000-01.com.synology:SynologyDisk.Target-3.893d32f931, portal: 172.16.31.238,3260], but a session is using it. Logout session then rerun command to remove record.
iscsiadm: Could not execute operation on all records: session exists