[Pkg-iscsi-maintainers] Bug#809320: open-iscsi: no session termination on stop

Ritesh Raj Sarraf rrs at debian.org
Tue Dec 29 10:47:30 UTC 2015


Package: open-iscsi
Severity: important

Hello Christian,

Hope you are doing good. And wish you belated Christman and a coming
Happy New Year. :-)


I have been trying to play around with my VM setup, to build an iSCSI
SAN Boot Setup. In doing that, I noticed something odd. Perhaps you may
have some pointers.




root at debian-sanboot:~# /etc/init.d/open-iscsi stop
[ ok ] Stopping open-iscsi (via systemctl): open-iscsi.service.

After the service is stopped, I'd expect no iscsi sessions. But below
showed that there were active sessions.


root at debian-sanboot:~# iscsiadm -m session
tcp: [1] 172.16.20.42:3260,1 iqn.2003-01.org.linux-iscsi.debian.sanboot (non-flash)
tcp: [2] 172.16.20.40:3260,1 iqn.2003-01.org.linux-iscsi.debian.sanboot (non-flash)
tcp: [3] 172.16.20.43:3260,1 iqn.2003-01.org.linux-iscsi.debian.sanboot (non-flash)
tcp: [4] 172.16.20.41:3260,1 iqn.2003-01.org.linux-iscsi.debian.sanboot (non-flash)



root at debian-sanboot:~# apt-cache policy open-iscsi
open-iscsi:
  Installed: 2.0.873+git0.3b4b4500-12
  Candidate: 2.0.873+git0.3b4b4500-12
  Version table:
 *** 2.0.873+git0.3b4b4500-12 0
        500 http://ftp.debian.org/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.873+git0.3b4b4500-9 0
        500 http://ftp.debian.org/debian/ testing/main amd64 Packages
root at debian-sanboot:~# 

Manually invoking the /lib/open-iscsi/logout-all.sh script did log me
out. So, now, I'm wondering why that didn't get triggered in the flow.
I'll keep posted on this bug report.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.3+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-iscsi-maintainers mailing list