Bug#728326: istgt: abysmal error reporting
Hi Michal,
On 30/10/13 17:57, Michal Suchanek wrote:
> I get this error in log:
> Oct 30 18:49:15 OptiPlex960 istgt[11969]: Login from iqn.1994-05.com.redhat:82afc45e9e1c (10.10.10.2) on iqn.2001-04.optiplex960.uvt316-2.ruk.cuni.cz:rhev LU1 (10.10.10.10:3260,1), ISID=23d0b0000, TSIH=2, CID=0, HeaderDigest=on, DataDigest=on
> Oct 30 18:49:15 OptiPlex960 istgt[11969]: istgt_iscsi.c:5223:worker: ***ERROR*** conn->state = 2
>
> WTF is conn->state = 2?
I agree that's not very clear, but at least it gave a source code line
number! And:
src/istgt_iscsi.h:
> CONN_STATE_EXITING = 2,
That situation can happen for many reasons during istgt_iscsi_read_pdu()
and suggests it didn't like something about a packet it just received.
It seems istgt has a 'TRACELOG' with extra debugging messages. You
could enable it using "-t net" or "-t all" on the command line when
starting istgt; that may give you some further info.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: