V
V
VN2020-12-10 12:30:15
iSCSI
VN, 2020-12-10 12:30:15

Why is the open-iscsi client not connecting to the target with a login and password?

I connect the client to the target, in the node config I prescribe

node.session.auth.authmethod = CHAP 
node.session.auth.username = login
node.session.auth.password = pass

I restart the service, I get an error
iscsiadm: initiator reported error (24 - iSCSI login failed due to authorization failure)
iscsiadm: Could not log into all portals

If you remove authentication, then the connection to the target passes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VN, 2020-12-11
@kavabangaungava

Everything turned out to be simple. It was the password.
The CHAP secret length must be a minimum of 12 characters and a maximum of 16 characters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question