30 September 2014

iscsiadm: Login failed to authenticate with target

Error:-

iscsiadm: >    TargetPortalGroupTag=1
iscsiadm: login response status 0201
iscsiadm: Login failed to authenticate with target
iscsiadm: discovery login to 192.168.88.17 rejected: initiator error (02/01), non-retryable, giving up
iscsiadm: disconnecting conn 0xb23010, fd 3
iscsiadm: Could not perform SendTargets discovery.

Solution:-

Change below values on node 1 and node 2(not in SAN)/etc/iscsi/iscsid.conf

discovery.sendtargets.auth.authmethod = CHAP
discovery.sendtargets.auth.username = muthu

discovery.sendtargets.auth.password = Yourpassword
node.session.auth.authmethod = CHAP
node.session.auth.username = muthu

node.session.auth.password = Yourpassword

No comments: