Even after removing openfiler ISCSI storage, I keep getting error in syslogs

kumarullal

Renowned Member
Jun 17, 2009
184
0
81
LA, USA
I am using 2 DELL R710 servers and proxmox 2.1 cluster
I connected iscsi storage from openfiler.
Then I deleted the storage.
Even then I kept on getting error in syslog, that it is trying to connect to the openfiler iscsi target.
Then I did the following steps.
I've removed references from:

/etc/iscsi/send_targets/my_ip_address,3260
/etc/iscsi/nodes
/dev/disk/by-path/

After that just issue the following command
/etc/init.d/open-iscsi restart

Even then I kept on getting the same error.
proxmox iscsid: cannot make a connection to xx.xx.xx.xx:3260 (-1,9)

After issueing
iscsiadm -m session -P 1
I get
Target: iqn.2006-01.com.openfiler:tsn.15192f3b7293
Current Portal: 192.168.1.162:3260,1
Persistent Portal: 192.168.1.162:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1993-08.org.debian:01:a5276ef7adf1
Iface IPaddress: <empty>
Iface HWaddress: (null)
Iface Netdev: (null)
SID: 2
iSCSI Connection State: TRANSPORT WAIT
iSCSI Session State: FREE
Internal iscsid Session State: REOPEN

iscsiadm -m session -r 2 -u
Logging out of session [sid: 2, target: iqn.2006-01.com.openfiler:tsn.15192f3b7293, portal: 192.168.1.162,3260]
iscsiadm: Could not logout of [sid: 2, target: iqn.2006-01.com.openfiler:tsn.15192f3b7293, portal: 192.168.1.162,3260]:
iscsiadm: initiator reported error (9 - internal error)

So I got frustrated and unmaped the LUN in openfiler.
I still could not get rid of the messages.
Then I again mapped the LUN in openfiler.
Now This is the error I am getting.

10 15:13:06 virt1 kernel: connection2:0: detected conn error (1020)
May 10 15:13:07 virt1 iscsid: Login failed to authenticate with target iqn.2006-01.com.openfiler:tsn.15192f3b7293
May 10 15:13:07 virt1 iscsid: session 2 login rejected: Initiator failed authentication with target
May 10 15:13:09 virt1 kernel: connection2:0: detected conn error (1020)
May 10 15:13:10 virt1 iscsid: Login failed to authenticate with target iqn.2006-01.com.openfiler:tsn.15192f3b7293
May 10 15:13:10 virt1 iscsid: session 2 login rejected: Initiator failed authentication with target
May 10 15:13:12 virt1 kernel: connection2:0: detected conn error (1020)
May 10 15:13:13 virt1 iscsid: Login failed to authenticate with target iqn.2006-01.com.openfiler:tsn.15192f3b7293
May 10 15:13:13 virt1 iscsid: session 2 login rejected: Initiator failed authentication with target
May 10 15:13:15 virt1 kernel: connection2:0: detected conn error (1020)
May 10 15:13:16 virt1 iscsid: Login failed to authenticate with target iqn.2006-01.com.openfiler:tsn.15192f3b7293

How do I get rid of these error logs.
Isn't there any easier way to safely remove iscsi storage and not get any further errors?
Please help in resolving this error.
 
Last edited: