You are not logged in.
I am using the latest targetcli-fb and configure the iscsi target in Arch Linux. Everything is fine but when I try to run discovery on another server (Debian and Windows) it failed.
From journald it shows:
kernel: iSCSI Login negotiation failed.
kernel: iscsi_login_setup_crypto() failed
kernel: crypto_alloc_hash() failed for conn_rx_tfm
kernel: iSCSI Login negotiation failed.
and the targetcli configs:
/iscsi> ls
o- iscsi .............................................................................................................. [Targets: 1]
o- iqn.2003-01.org.linux-iscsi.xxx.x8664:sn.729471705929 .............................................................. [TPGs: 1]
o- tpg1 ................................................................................................. [no-gen-acls, no-auth]
o- acls ............................................................................................................ [ACLs: 1]
| o- iqn.1993-08.org.debian:01:f041aa8a5d90 ................................................................. [Mapped LUNs: 1]
| o- mapped_lun0 ............................................................................... [lun0 block/pi02_disk (rw)]
o- luns ............................................................................................................ [LUNs: 1]
| o- lun0 .................................................................... [block/test_disk (/dev/vg00/test_lv)]
o- portals ...................................................................................................... [Portals: 1]
o- 0.0.0.0:3260 ....................................................................................................... [OK]
/iscsi>
Offline
Please use code tags for your config and other terminal output for better readability. Still, it looks ok to me.
I have targetcli-fb on one of my Arch boxes, but it's an old version (2.1.fb35-1) built back in June (official packages are up to date). Discovery and login from another Arch box works. I don't have time to troubleshoot further, but if you haven't found a solution by Monday I can update and maybe be of more use.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Found out what's going wrong. It's because the module "crc32c" is not loaded. I run the command "modprobe crc32c" and everything is fine.
Just don't know why the module is not loaded by default, I can't found any clues so I manually put a crc32c.conf at /etc/modules-load.d/
Offline
That's strange. In my case crc32c_generic is loaded automatically when I run discovery from another Arch machine.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline