Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

ISCSI lost connection

I am hitting a problem this morning.I found the iscsi triffic stopped from our moniter software.

There are alot of errors on the server which runs the iscsi targert:

[Mon Jan 21 16:03:35 2019] iSCSI Login negotiation failed.
[Mon Jan 21 16:03:50 2019] iSCSI Login timeout on Network Portal 10.50.7.247:3260
[Mon Jan 21 16:03:50 2019] tx_data returned -104, expecting 48.
[Mon Jan 21 16:03:50 2019] iSCSI Login negotiation failed.
[Mon Jan 21 16:04:05 2019] iSCSI Login timeout on Network Portal 10.50.7.247:3260
[Mon Jan 21 16:04:05 2019] tx_data returned -104, expecting 48.
[Mon Jan 21 16:04:05 2019] iSCSI Login negotiation failed.

 

What could cause this? The ceph end seems ok and the service has been running for a long time without any incident

If you login from a different client machine to the same iscsi server and same lun, does it work ?

This is a "Connection reset by peer" error:

#define ECONNRESET      104     /* Connection reset by peer */

happens at the lower tcp send message level when trying to transmit back iSCSI login parameters back to the initiator.

Check your network, connections..

Thank you admin.

It turns out that the ceph cluster was not working properly there were some request were blocked which caused this error.

The error itself is kinda confusing why an unresponsive ceph cluster can cause this problem?

 

As per my earlier post, the error is coming from the tcp stack due to a connection reset by peer while trying to transmit back iSCSI login parameters.

This is not related to iSCSI or Ceph, but something at the network/hardware. It can cause Ceph or iSCSI to fail but not the other way.

@admin

But after I fix ceph cluster this error went away.

The root cause was ceph had some error that blocked all incoming request.After this error was solved everything became ok automatically