Error while Discovery

806 views
Skip to first unread message

Manju sharma

unread,
Dec 2, 2012, 10:12:45 AM12/2/12
to open-...@googlegroups.com
Hi,
I have the following configuration:
RHEL6.1 on IBM Server(IBMx3650M4) using Intel's dual port NIC card (Intel corporation 82580)for iscsi session's
.
First i check that target IP's are pingging successfully 
then ,I followed the following steps for creating the iscsi session's:

[root@IBMRHEL61 ~]# iscsiadm -m iface -I iface0 --op=new

New interface iface0 added

[root@IBMRHEL61 ~]# iscsiadm -m iface -I iface0 --op=update -n iface.hwaddress -v 90:E2:BA:15:D6:D0

iface0 updated.

[root@IBMRHEL61 ~]# iscsiadm -m discovery -t st -p 192.168.3.4:3260 -I iface0 -P 1 -d 2

iscsiadm: Max file limits 1024 1024

 

iscsiadm: Could not match iface[hw=90:E2:BA:15:D6:D0,ip=,net_if=,iscsi_if=iface0] to host.

iscsiadm: Could not open /var/lib/iscsi/send_targets/192.168.3.4,3260: No such file or directory

 

iscsiadm: starting sendtargets discovery, address 192.168.3.4:3260,

iscsiadm: connecting to 192.168.3.4:3260

iscsiadm: connected local port 39555 to 192.168.3.4:3260

iscsiadm: connected to discovery address 192.168.3.4

iscsiadm: login response status 0202

iscsiadm: discovery login to 192.168.3.4 rejected: initiator failed authorization

 

iscsiadm: disconnecting conn 0x23086a8, fd 3

iscsiadm: Could not perform SendTargets discovery: iSCSI login failed due to authorization failure



I clearly don't understand why discovery  is unsuccessful,why the iface did not match to host? 

Can anybody help? I will be pleasure if i get some direction ,how to proceed.


Regards,

Manju


IP pinging successfully-screenshot.png

Mike Christie

unread,
Dec 2, 2012, 2:05:35 PM12/2/12
to open-...@googlegroups.com, Manju sharma
On 12/02/2012 09:12 AM, Manju sharma wrote:
> iscsiadm: login response status 0202____
>
> *iscsiadm: discovery login to 192.168.3.4 rejected: initiator failed
> authorization____*
>
> __ __
>
> iscsiadm: disconnecting conn 0x23086a8, fd 3____
>
> *iscsiadm: Could not perform SendTargets discovery: iSCSI login failed
> due to authorization failure*____
>

You need to setup or disable CHAP. Are you using CHAP on the target
side? If so then you need to set it up on the initiator side. Or, are
you using CHAP on the initiator side, if so then set it up on the target
side.

If you think you have it set up correctly then send your iscsid.conf.

Reply all
Reply to author
Forward
0 new messages