VirtualBox

Ticket #4031 (closed defect: fixed)

Opened 14 years ago

Last modified 13 years ago

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

comment:1 Changed 14 years ago 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.

comment:2 Changed 13 years ago 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!

comment:3 Changed 13 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use