On Tuesday, January 7, 2020 at 12:20:15 AM UTC-8, can zhu 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 have "auth" enabled but not set up correctly.
There are two types of auth: discovery, and session. It looks like your session auth is not set up correctly. You need to know the auth username and password. It has to be set up on the target (targetcli) and the initiator (open-iscsi). -- 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 open-iscsi+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/open-iscsi/b7141d18-99d9-4d93-9252-a5e27393dfc6%40googlegroups.com.