Opened 15 years ago

Closed 14 years ago

#4031 closed defect (fixed)

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

Reported by: JoergD. Owned by:
Component: virtual disk Version: VirtualBox 2.2.2
Keywords: iscsi target initiator iet Cc:
Guest type: other Host type: Linux


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="|" format="iSCSI" type="Normal">

<Property name="InitiatorName" value=""/> <Property name="InitiatorSecret" value="fasel"/> <Property name="InitiatorUsername" value="bla"/> <Property name="TargetAddress" value=""/> <Property name="TargetName" value=""/>


ISCSI Target:


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


root# VBoxManage list hdds ... UUID: 881b9be8-17b4-4169-85ac-1e974c9e421e Format: iSCSI Location:| Accessible: no

daemon.log (on ISCSI target):

May 16 18:27:49 sanserver ietd: CHAP initiator auth.: authentication of failed (wrong secret!?)

Change History (3)

comment:1 by JoergD., 15 years ago


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.

comment:2 by aeichner, 14 years ago

Summary: ISCSI authentication not working against IET targetsISCSI 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!

comment:3 by Sander van Leeuwen, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use