ISCSI does not work in 1.6

  • Thread starter Thread starter houms
  • Start date Start date
H

houms

Guest
Good Day all,
I setup a openfiler box. Setup iscsi on the openfiler box. I have tested that I can connect to the target from other platforms, but when I try to do it from web ui in proxmox it throws up

"Error: command '/usr/bin/iscsiadm --mode discovery --type sendtargets --portal 192.168.25.104' failed with exit code 255 "

This is on a fresh proxmox 1.6 install. Can anyone help get this working? It is a shame this is not working out of the box and there is no real doumentation about how to troubleshoot. Scouring the forums I have confirmed that open-iscsi is installed and seems to be running. Not sure what I am missing?

Any help would be appreciated.
 
should work out of the box. we use several openfiler´s in our test lab.

can you access the iSCSI target from other servers without any authentication? any network issues?
 
should work out of the box. we use several openfiler´s in our test lab.

can you access the iSCSI target from other servers without any authentication? any network issues?

Thanks for your reply Tom,
Yes I have tested it from xen server and from a windows 7 machine. Both can access the iscsi target without any auth.
Also I can ping the openfiler box from all over the network including the proxmox box, but it still cannot access the iscsi target. Def. a proxmox problem.

From proxmox commandline i get
Code:
# iscsiadm -d 9 -m discovery -t sendtargets -p 192.168.25.104
iscsiadm: ip 192.168.25.104, port 3260, tgpt -1
iscsiadm: Max file limits 1024 1024

iscsiadm: updating defaults from '/etc/iscsi/iscsid.conf'
iscsiadm: updated 'discovery.sendtargets.iscsi.MaxRecvDataSegmentLength', '32768' => '32768'
iscsiadm: updated 'node.startup', 'manual' => 'manual'
iscsiadm: updated 'node.session.timeo.replacement_timeout', '120' => '120'
iscsiadm: updated 'node.conn[0].timeo.login_timeout', '30' => '15'
iscsiadm: updated 'node.conn[0].timeo.logout_timeout', '15' => '15'
iscsiadm: updated 'node.conn[0].timeo.noop_out_interval', '5' => '5'
iscsiadm: updated 'node.conn[0].timeo.noop_out_timeout', '5' => '5'
iscsiadm: updated 'node.session.err_timeo.abort_timeout', '15' => '15'
iscsiadm: updated 'node.session.err_timeo.lu_reset_timeout', '30' => '20'
iscsiadm: updated 'node.session.initial_login_retry_max', '4' => '8'
iscsiadm: updated 'node.session.cmds_max', '128' => '128'
iscsiadm: updated 'node.session.queue_depth', '32' => '32'
iscsiadm: updated 'node.session.iscsi.InitialR2T', 'No' => 'No'
iscsiadm: updated 'node.session.iscsi.ImmediateData', 'Yes' => 'Yes'
iscsiadm: updated 'node.session.iscsi.FirstBurstLength', '262144' => '262144'
iscsiadm: updated 'node.session.iscsi.MaxBurstLength', '16776192' => '16776192'
iscsiadm: updated 'node.conn[0].iscsi.MaxRecvDataSegmentLength', '131072' => '131072'
iscsiadm: updated 'node.session.iscsi.FastAbort', 'Yes' => 'Yes'
iscsiadm: starting sendtargets discovery, address 192.168.25.104:3260, 
iscsiadm: sendtargets discovery to 192.168.25.104:3260 using isid 0x00023d000000
iscsiadm: discovery timeouts: login 15, reopen_cnt 5, auth 45.
iscsiadm: connecting to 192.168.25.104:3260
iscsiadm: cannot make connection to 192.168.25.104:3260 (113)
iscsiadm: connection to discovery address 192.168.25.104 failed
iscsiadm: disconnecting conn 0x1f4e038, fd 3
iscsiadm: discovery session to 192.168.25.104:3260 sleeping for 1 seconds before next login attempt
iscsiadm: connecting to 192.168.25.104:3260
iscsiadm: cannot make connection to 192.168.25.104:3260 (113)
iscsiadm: connection to discovery address 192.168.25.104 failed
iscsiadm: disconnecting conn 0x1f4e038, fd 3
iscsiadm: discovery session to 192.168.25.104:3260 sleeping for 1 seconds before next login attempt
iscsiadm: connecting to 192.168.25.104:3260
iscsiadm: cannot make connection to 192.168.25.104:3260 (113)
iscsiadm: connection to discovery address 192.168.25.104 failed
iscsiadm: disconnecting conn 0x1f4e038, fd 3
iscsiadm: discovery session to 192.168.25.104:3260 sleeping for 1 seconds before next login attempt
iscsiadm: connecting to 192.168.25.104:3260
iscsiadm: cannot make connection to 192.168.25.104:3260 (113)
iscsiadm: connection to discovery address 192.168.25.104 failed
iscsiadm: disconnecting conn 0x1f4e038, fd 3
iscsiadm: discovery session to 192.168.25.104:3260 sleeping for 1 seconds before next login attempt
iscsiadm: connecting to 192.168.25.104:3260
iscsiadm: cannot make connection to 192.168.25.104:3260 (113)
iscsiadm: connection to discovery address 192.168.25.104 failed
iscsiadm: connection login retries (reopen_max) 5 exceeded
Any suggestions would be greatly appreciated.

UPDATE: I just changed the IP address on all three of the NICS on the openfiler box, and what do you know it just works...... thanks again TOM for your help.
 
Last edited by a moderator:
perfect!
thanks for feedback