VirtualBox

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

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 (3)

comment:1 by JoergD., 15 years ago

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.

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