On Tue, Jan 7, 2020 at 2:20 AM can zhu <[email protected]> wrote:

> kernel: connection2:0: detected conn error (1020)
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
> iscsid: Kernel reported iSCSI connection 2:0 error (1020 -
> ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (1)
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
> systemd: Started Session 3742 of user root.
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
> iscsid: conn 0 login rejected: initiator failed authorization with target
>
>
> *env*
>
> kernel:3.10.0-693.el7.x86_64
>
> os:CentOS Linux release 7.4.1708 (Core)
>
> *iscsi*-initiator-utils: *iscsi*-initiator-utils-6.2.0.874-11.el7.x86_64
>
>
> I can't configure acl and username、password.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/open-iscsi/f0bab99e-accd-46cc-9d37-7700773ffc47%40googlegroups.com
> <https://groups.google.com/d/msgid/open-iscsi/f0bab99e-accd-46cc-9d37-7700773ffc47%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

I get the names of all the different iSCSi projects out there mixed up, so
forgive me if i am on the wrong list to mention about the targetcli
freebranch by Andy Grover of RedHat.   It is the one built into the kernel
and the default for RHEL 7 and newer versions of Ubuntu.  He calls it
freebranch but Datera.io contributed it to the kernel?

Do you have root access on both target (server) and initiator (client)?

If you have root on the server side / target, *targetcli *is used to set
the username and password.  yum search targetcli.  There is an attribute to
set the password.  If you forgot, info can tell you as well as

` cat /etc/targetcli/saveconfig.json | egrep -i '(CHAP|PASS)' `

*targetcli*
*ls*
*cd
/iscsi/iqn.YYYY-MM.us.domain.iscsiServer:ramdisk4gb/tpg1/acls/iqn.YYYY-MM.us.domain.iscsiClient:client*
*info*


Would watch Andy Grovers targetcli videos on youtube.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/open-iscsi/CACE8FwnY%3DurpRfL4jNENFXY_6MN4TJ%2BAN_aZD0Uac2F%2BBPyRqg%40mail.gmail.com.

Reply via email to