VirtualBox

Ticket #4031 (closed defect: fixed)

Opened 1 year ago

Last modified 3 months ago

ISCSI authentication not working against IET targets => fixed in SVN

Reported by: joergd Assigned to:
Priority: major Component: virtual disk
Version: VirtualBox 2.2.2 Keywords: iscsi target initiator iet
Cc: Guest type: other
Host type: Linux

Description

Adding ISCSI disks to the VirtualBox configuration (via VBoxManage addiscsidisk) works fine as long no authentication is in place.

Trying to enable CHAP authentication on the target (IncomingUser? bla fasel) does not work with Virtualbox - it simply fails.

Configuration: Initiator: VirtualBox 2.2.2 Target: IET Daemon (Debian's "iscsitarget" 0.4.16+svn162-1)

vbox harddisk:

<HardDisk? uuid="{881b9be8-17b4-4169-85ac-1e974c9e421e}" location="10.1.0.146|iqn.2008-07.de.xxxxxx:san.vm.galaxy" format="iSCSI" type="Normal">

<Property name="InitiatorName?" value="iqn.2008-04.com.sun.virtualbox.initiator"/> <Property name="InitiatorSecret?" value="fasel"/> <Property name="InitiatorUsername?" value="bla"/> <Property name="TargetAddress?" value="10.1.0.146"/> <Property name="TargetName?" value="iqn.2008-07.de.xxxxxx:san.vm.galaxy"/>

</HardDisk>

ISCSI Target:

Target iqn.2008-07.de.xxxxxx:san.vm.galaxy

IncomingUser? bla fasel Lun 0 Path=/dev/san-iscsi/vm_galaxy,Type=fileio MaxRecvDataSegmentLength? 65536 MaxXmitDataSegmentLength? 65536

Output:

root# VBoxManage list hdds ... UUID: 881b9be8-17b4-4169-85ac-1e974c9e421e Format: iSCSI Location: 10.1.0.146|iqn.2008-07.de.onix:san.vm.galaxy Accessible: no

daemon.log (on ISCSI target):

May 16 18:27:49 sanserver ietd: CHAP initiator auth.: authentication of iqn.2008-04.com.sun.virtualbox.initiator failed (wrong secret!?)

Change History

2009-05-16 18:33:58 changed by joergd

BTW:

The ISCSI target works just fine with Debian's open-iscsi initiator and enabled authentication. Thus I suspect the VirtualBox ISCSI initiator to be the problem here.

2010-06-13 13:20:09 changed by aeichner

  • summary changed from ISCSI authentication not working against IET targets to ISCSI authentication not working against IET targets => fixed in SVN.

Fixed in svn and will be included in the next maintenance release. Thanks for the report!

2010-06-18 17:39:21 changed by sandervl73

  • status changed from new to closed.
  • resolution set to fixed.


ContactPrivacy policy