iscsi: ession failed, status == 31 !

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
bob_bipbip
Posts: 3
Joined: Tue Jul 27, 2010 9:43 am

Tue Jul 27, 2010 9:51 am

hi, and thanks in advance for the reply.
microsft iscsi initiator works, but not starports.
i've got the "creation of the iscsi device failed with all the adesses supplied by the server" message.
here the log;

7/27 11:28:37.991 >> CLanguager::LoadLanguage(language=0x409)
7/27 11:28:38.007 Failed to query registry ShowSplash value.
7/27 11:28:38.007 >> CStarPortAPI::CStarPortAPI()
7/27 11:28:38.007 >> CStarPortAPI::DriverOpen()
7/27 11:28:38.007 >> CStarPortAPI::DriverVersion(...)
7/27 11:28:38.007 CStarPortAPI::DriverVersion: Calling STARPORT_IOCTL_GET_VERSION
7/27 11:28:38.007 CStarPortAPI::DriverVersion: Calling DeviceIoControl(...)
7/27 11:28:38.007 CStarPortAPI::DriverVersion: Input: ApiVersion = 30001
7/27 11:28:38.007 CStarPortAPI::DriverVersion: Output: Version = 20091120, API = 30001, DriverOpenContext = 0, DriverInstance = FFFFFFFF88EB8338
7/27 11:28:38.007 CStarPortAPI::CStarPortAPI: StarPort Storage Controller version: 20091223; StarPort driver: API v30001, Build 0x20091120
7/27 11:28:38.007 >> CDriveLetterMap::CDriveLetterMap()
7/27 11:28:38.007 >> CStarPortDoc::CStarPortDoc()
7/27 11:28:38.366 >> CStarPortAPI::GetEthernetAdapters()
7/27 11:28:38.382 CStarPortAPI::GetEthernetAdapters: Adapter=\DEVICE\{8A8EA329-FA3A-48E3-B85D-B148AA41A127}
7/27 11:28:38.382 CStarPortAPI::GetEthernetAdapters: MAC=00:50:56:8B:40:70
7/27 11:28:38.382 CStarPortAPI::GetEthernetAdapters: Name=VMware Accelerated AMD PCNet Adapter - Miniport d'ordonnancement de paquets
7/27 11:28:38.382 CStarPortAPI::GetEthernetAdapters: MTU=0x000005DC
7/27 11:28:38.382 CStarPortAPI::GetEthernetAdapters: Adapter=\DEVICE\{3E624AE4-4934-4782-AE85-6D6A273B41C8}
7/27 11:28:38.382 CStarPortAPI::GetEthernetAdapters: MAC=00:50:56:98:78:C7
7/27 11:28:38.382 CStarPortAPI::GetEthernetAdapters: Name=Carte AMD PCNET Family Ethernet PCI - Miniport d'ordonnancement de paquets
7/27 11:28:38.382 CStarPortAPI::GetEthernetAdapters: MTU=0x000005DC
7/27 11:28:38.382 >> CStarPortDoc::FillMaps()
7/27 11:28:38.382 >> CStarPortView::OnInitialUpdate()
7/27 11:28:38.460 >> CStarPortDoc::ResyncRegistryAndDriverContents(bAutomountDevices=1)
7/27 11:28:38.460 >> CStarPortAPI::GetDevices(...)
7/27 11:28:38.460 CStarPortAPI::GetDevices: Calling STARPORT_IOCTL_TARGET_LIST
7/27 11:28:38.460 CStarPortAPI::GetDevices: Output buffer:
7/27 11:28:38.460 CStarPortAPI::GetDevices: NumberOfTargets = 0
7/27 11:28:38.554 CStarPortApp::InitInstance: Showing mainform.
7/27 11:28:41.538 CTreeFolder::DisplayProperties: This function must not be called on CTreeFolder object.
7/27 11:28:47.116 >> CStarPortAPI::GetTargets(dwIPAddress=0xA000101, DWORD dwPort=3260, listTargets=...)
7/27 11:28:47.116 CStarPortAPI::GetTargets: Calling STARPORT_IOCTL_GET_TARGETS
7/27 11:28:47.116 CStarPortAPI::GetTargets: Input buffer:
7/27 11:28:47.116 CStarPortAPI::GetTargets: ServerAddress = #iscsi:10.0.1.1:3260
7/27 11:28:47.116 CStarPortAPI::GetTargets: Parameter[0] = InitiatorName=iqn.2003-06.com.starwindsoftware.starport:ag05-sx-testinf
7/27 11:28:47.132 CStarPortAPI::GetTargets: Output buffer:
7/27 11:28:47.132 CStarPortAPI::GetTargets: TargetsInfo[0] = TargetName=iqn.2000-08.com.datacore:baisan-1
7/27 11:28:47.132 CStarPortAPI::GetTargets: TargetsInfo[1] = TargetAddress=10.0.1.1:3260,1
7/27 11:28:47.132 >> CStarPortAPI::AddTargetToList(target=..., listTargets=...)
7/27 11:28:47.132 CStarPortAPI::GetTargets: Server at IP:0xA000101, Port:3260 returned the following targets:
7/27 11:28:47.132 CStarPortAPI::GetTargets: TargetName:iqn.2000-08.com.datacore:baisan-1
7/27 11:28:47.132 CStarPortAPI::GetTargets: TargetAddress: IP:0xA000101, Port:3260
7/27 11:28:47.476 CWPPiSCSITargetSelection::CreateDevice: Trying to add an iSCSI device using TargetName=iqn.2000-08.com.datacore:baisan-1, IP:0xA000101, Port:3260
7/27 11:28:47.476 >> CStarPortAPI::CStarPortAPI()
7/27 11:28:47.476 >> CStarPortAPI::DriverOpen()
7/27 11:28:47.476 >> CStarPortAPI::DriverVersion(...)
7/27 11:28:47.476 CStarPortAPI::DriverVersion: Calling STARPORT_IOCTL_GET_VERSION
7/27 11:28:47.476 CStarPortAPI::DriverVersion: Calling DeviceIoControl(...)
7/27 11:28:47.476 CStarPortAPI::DriverVersion: Input: ApiVersion = 30001
7/27 11:28:47.476 CStarPortAPI::DriverVersion: Output: Version = 20091120, API = 30001, DriverOpenContext = 0, DriverInstance = FFFFFFFF88EB8338
7/27 11:28:47.476 CStarPortAPI::CStarPortAPI: StarPort Storage Controller version: 20091223; StarPort driver: API v30001, Build 0x20091120
7/27 11:28:47.476 >> CStarPortDoc::CreateiSCSIDevice(IP=0x10470E0, Port=3260, TargetName=iqn.2000-08.com.datacore:baisan-1, Flags=1)
7/27 11:28:47.476 >> CStarPortAPI::InsertiSCSIDevice(dwIPAddress=0xA000101, dwPort=3260, szInitiaotrName=iqn.2003-06.com.starwindsoftware.starport:ag05-sx-testinf, szTargetName=iqn.2000-08.com.datacore:baisan-1, szAdditionalParameter=, nTargetID=...)
7/27 11:28:47.476 CStarPortAPI::InsertiSCSIDevice: Calling STARPORT_IOCTL_TARGET_MOUNT
7/27 11:28:47.476 CStarPortAPI::InsertiSCSIDevice: Input buffer:
7/27 11:28:47.476 CStarPortAPI::InsertiSCSIDevice: Flags = 1
7/27 11:28:47.476 CStarPortAPI::InsertiSCSIDevice: ServerAddress = #iscsi:10.0.1.1:3260
7/27 11:28:47.476 CStarPortAPI::InsertiSCSIDevice: Parameter[0] = InitiatorName=iqn.2003-06.com.starwindsoftware.starport:ag05-sx-testinf
7/27 11:28:47.476 CStarPortAPI::InsertiSCSIDevice: Parameter[1] = TargetName=iqn.2000-08.com.datacore:baisan-1
7/27 11:28:48.226 CStarPortAPI::InsertiSCSIDevice: Session failed, status == 31 !
7/27 11:28:48.366 >> CStarPortAPI::~CStarPortAPI()
7/27 11:28:48.366 CWPPiSCSITargetSelection::CreateDevice: Exception caught: Driver failure.
7/27 11:28:48.366 CWPPiSCSITargetSelection::CreateDevice: Failed to connect to create iSCSI device using TargetName=iqn.2000-08.com.datacore:baisan-1, IP:0xA000101, Port:3260
7/27 11:28:48.366 CWPPiSCSITargetSelection::CreateDevice: Creation of the iSCSI device failed with all the addresses supplied by the server.
7/27 11:28:48.382 CWPPiSCSITargetSelection::CreateDevice: Exception caught: Creation of the iSCSI device failed with all the addresses
supplied by the server.
User avatar
Max (staff)
Staff
Posts: 533
Joined: Tue Apr 20, 2010 9:03 am

Tue Jul 27, 2010 10:30 am

Hello,
Could you please send the full logfile to support@starwindsoftware.com,
This way it will be easier for us to determine the problem source and find a solution for you.
After this I will move the topic to an appropriate forum branch.
Max Kolomyeytsev
StarWind Software
User avatar
Max (staff)
Staff
Posts: 533
Joined: Tue Apr 20, 2010 9:03 am

Wed Jul 28, 2010 2:00 pm

Can you please tell if you had any problems with connecting similar targets using StarPort before?
Max Kolomyeytsev
StarWind Software
bob_bipbip
Posts: 3
Joined: Tue Jul 27, 2010 9:43 am

Tue Aug 03, 2010 1:53 pm

it's m'y first time using it
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Tue Aug 03, 2010 2:56 pm

Do you have issues with StarPort or StarWind actually?
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
bob_bipbip
Posts: 3
Joined: Tue Jul 27, 2010 9:43 am

Wed Aug 04, 2010 1:54 pm

yes.
i'm still unable to bind an iscsi target
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Thu Aug 05, 2010 6:17 pm

Yes what? :) Are you using StarPort *OR* StarWind? OK, if you use *BOTH* at the same time and StarPort cannot connect to StarWind please send BOTH logs to us with your comments and we'll say for sure what's broken. Thanks!
bob_bipbip wrote:yes.
i'm still unable to bind an iscsi target
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
Post Reply