For now, the workaround for this bug is this:

inaddy@iscsihang:~$ sudo su -

# disconnect what iscsid has mapped
root@iscsihang:~$ iscsiadm -m node --logoutall=all

# disconnect all leftovers
root@iscsihang:~$ for file in `find /sys/devices -name *delete`; do echo 1 > 
$file; done

# shutdown
root@iscsihang:~$ shutdown -h now

(as long as you don't have iscsi root device)

Concentrating efforts in why systemd doesn't finish when iscsi
connections and paths are online. Will check why (even recent version)
open-iscsi looses track of connections if killed/restarted by a new
login.

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

Title:
  Shutdown hang on 16.04 with iscsi targets

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to