Re: Who know more about this issue for iscsid?

2020-01-07 Thread Robert ECEO Townley
On Tue, Jan 7, 2020 at 2:20 AM 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 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/f0bab99e-accd-46cc-9d37-7700773ffc47%40googlegroups.com
> 
> .
>

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.-MM.us.domain.iscsiServer:ramdisk4gb/tpg1/acls/iqn.-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 open-iscsi+unsubscr...@googlegroups.com.
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.


Re: reboot hangs with "Reached target shutdown", who can help me?

2019-12-13 Thread Robert ECEO Townley
If you enter the mount command at this point, what mount points are still
mounted?   Screenshot has some contradictions.



On Thu, Dec 12, 2019 at 8:08 PM can zhu  wrote:

>
> @The Lee-Man  Thanks, In my environment, the default value of the
> node.startup is automatic in config
>
>
>
> The Lee-Man  于2019年12月13日周五 上午5:17写道:
>
>> Okay, I checked CentOS 8, and the services seem very similar to what I'm
>> familiar with.
>>
>> You do indeed need to make sure your nodes have startup set to automatic.
>>
>> Use something like:
>>
>> > zsh> sudo iscsiadm -m node --op update --name 'node.conn[0].startup'
>> --value automatic
>>
>> to update all nodes to start and stop automatically, and update startup
>> in /etc/iscsi/iscsid.conf to change the default.
>>
>> --
>> 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/5bdc3a89-e685-453d-8908-5a5c0e2f7332%40googlegroups.com
>> 
>> .
>>
> --
> 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/CAGJK1K%3DU0UsEn9Sv0%3DtOFo2hgBeWEE4gDaRtsgEg3-08g829BA%40mail.gmail.com
> 
> .
>

-- 
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/CACE8Fw%3D30hiKc%3DRm4%3Dk_2vPm%2BzTzponTMKt2um9xTmOc-qoTgA%40mail.gmail.com.