[Bug 1713537] Re: iscsi-targets don't quit session on shutdown

Ryan Harper 1713537 at bugs.launchpad.net
Tue Aug 29 02:13:40 UTC 2017


Due to some change in behavior of iscsi, we now trip up over not
disconnecting the targets after unmounting them from the target.  The
disconnect code is call with the target dir path (Which isn't valid any
more due to being unmounted).  We should definitely umount the targets
first (to flush data on the device) but then call disconnect with a path
of / to use the config on the ephemeral host (which was copied into the
target anyhow).


** Also affects: curtin (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1713537

Title:
  iscsi-targets don't quit session on shutdown

Status in curtin package in Ubuntu:
  In Progress
Status in open-iscsi package in Ubuntu:
  Invalid

Bug description:
  1. Artful (MAAS Image)[a]
  2. open-iscsi	2.0.874-4ubuntu1
  3. On shutdown, all iscsi sessions to be stopped and unmounted
  4. Iscsi stops but does not stop sessions and shutdown is blocked/hung

  [^[[0;32m  OK  ^[[0m] Reached target Shutdown.
  [  125.666350]  connection4:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4294921130, last ping 4294922432, now 4294923712
  [  125.922334]  connection3:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4294921211, last ping 4294922496, now 4294923776
  [  126.178553]  connection2:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4294921292, last ping 4294922560, now 4294923840
  [  126.434334]  connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4294921371, last ping 4294922624, now 4294923904

  Note, previously released Artful MAAS images work fine:
  http://images.maas.io/ephemeral-v2/daily/artful/amd64/20170721/
  which contain 

  open-iscsi      2.0.873+git0.3b4b4500-14ubuntu17

  a. http://images.maas.io/ephemeral-v2/daily/artful/amd64/20170826/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1713537/+subscriptions



More information about the foundations-bugs mailing list