This was because the tgtd refused to die during a restart.  Even a stop did
not kill it.  So, I had to kill it myself, which resolved the problem.

On Mon, Nov 5, 2012 at 4:03 PM, Trenton Adams <[email protected]>wrote:

> Hi Guys,
>
> I spent quite some time trying to figure out why the system was not
> authenticating, except with a single password that I originally set-up.  I
> had it set to 12345, and that worked.  As soon as I changed it, it quit
> working.
>
> I would edit this file, and change the password
> /etc/iscsi/iscsid.conf
> node.session.auth.username = username
> node.session.auth.password = 12345
>
> Then I would edit this file, and change the password to the same thing.
> /etc/tgt/targets.conf
> <target iqn.2012-11.com.example:backup1>
>     backing-store /dev/sdf1
>
>     initiator-address 192.168.8.4
>
>     incominguser trenta 12345
> </target>
>
> Then, I found I could have /etc/tgt/targets.conf set to anything I like,
> and 12345 would still work in /etc/iscsi/iscsid.conf.  This all happens
> even after full restarts.
>
> iscsiadm -m node --logout
> iscsiadm -m node -o delete
> service tgtd restart
> service iscsid restart
> service iscsi restart
> iscsiadm -m discovery -t sendtargets -p  192.168.8.25
> iscsiadm -m node --login
>
> Can anyone tell me why this is happening?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "open-iscsi" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/open-iscsi/-/C2iuvhSZ7q8J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/open-iscsi?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to