TGT does not support ISER discovery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tgt |
Fix Released
|
Undecided
|
Rafael David Tinoco |
Bug Description
[Impact]
* TGT does not support iSER discovery and suffers from segmentation fault
whenever a open-iscsi client tries do discover targets using iSER (iSCSI over IB).
[Test Case]
### server (IPoverIB interface IP: 172.16.0.1)
# echo manual > /etc/init/
# apt-get install tgt
# tgtd
# tgt-setup-lun -n lunit1 -d /disks/lunit1 -t iser
### client (IPoverIB interface IP: 172.16.0.2)
# apt-get install open-iscsi
# iscsiadm -m discovery --op=show --type sendtargets --portal 172.16.0.1 -I iser
/var/log/syslog:
tgtd: tgtd daemon started, pid:11274
tgtd: tgtd logger started, pid:11275 debug:0
tgtd: work_timer_
tgtd: bs_init(390) use signalfd notification
tgtd: device_mgmt(246) sz:19 params:
tgtd: bs_thread_open(412) 16
tgtd: iser_alloc_
tgtd: iser_cm_
kernel: [233439.714120] tgtd[11274] segfault at 0 ip 00007fc36a5b3abf sp 00007ffefb551be0 error 4 in librdmacm.
tgtd: handle_
tgtd: tgtd logger exits abnormally, pid:11275
[Regression Potential]
* Tested multiple times in a Infiniband lab environment provided by Mellanox
* For open-iscsi to work with iSER kernel 3.16 should be used
* Watch bug https:/
[Other Info]
Original case: https:/
Marked as duplicate of this
Upstream commit:
commit 4a4268bc3a458be
Author: Or Gerlitz <email address hidden>
Date: Tue Jan 28 11:17:59 2014 +0200
iser: Add Discovery support
Add support to handle TEXT PDU, such as SendTargets which are used for
running iscsi discovery over iser.
Signed-off-by: Or Gerlitz <email address hidden>
Signed-off-by: Alexander Nezhinsky <email address hidden>
Signed-off-by: FUJITA Tomonori <email address hidden>
Has to be backported to TGT.
Changed in tgt-project: | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
status: | New → In Progress |
tags: | added: cts |
description: | updated |
Changed in tgt-project: | |
status: | In Progress → Fix Released |
The fix for this bug exposed the kernel problem being fixed in the following bug:
https:/ /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1443648
already fix-committed.