[Pkg-iscsi-maintainers] Bug#838540: open-iscsi logout-all.sh script fails to log out iscsi target

Christian Seiler christian at iwakd.de
Thu Sep 22 11:05:00 UTC 2016


On 09/22/2016 12:45 PM, Colby Ross wrote:
> As requested:
> # BEGIN RECORD 2.0-873
> [...]
> # END RECORD

Thanks. I just compared that with what's in my test setup, and
apart from IP addresses and the target name, it's identical. I
tested the --logoutall=all command on both Stretch and sid,
and it does work for me, so I really don't know what's going on
here.
 
Could you check if any of the configuration files of open-iscsi
were modified (and if so, attach them, removing passwords of
course)?

To check for modification of config files:

dpkg-query -f '${Conffiles}\n' -W open-iscsi | \
    awk '{printf("%s  %s\n", $2, $1);}' | md5sum -c -

(Any file that isn't shown next to OK was modified.)

Also, could you try calling iscsiadm with -d 8 to increase
debugging while logging out? (Unmounting the drive before of
course.)

iscsiadm -d 8 -m node --logoutall=all

Also, is there anything interesting in the logfiles regarding
open-iscsi?

journalctl -u iscsid -u open-iscsi

Regards,
Christian



More information about the Pkg-iscsi-maintainers mailing list