Skip to content
  • Mike Hibler's avatar
    Make sure iscsid picks up change of initiator name. · 1c2d994c
    Mike Hibler authored
    Otherwise you get a lot of this action:
    
    WARNING: 10.254.254.203 (iqn.1993-08.org.debian:01:5ad48b44316d): session reinstatement from different address 10.254.254.201
    
    The issue was that we would restart iscsid after changing the name, but if the
    iSCSI sessions were already open, the name change would not immediately take
    effect (til next reboot).
    
    This will happen if the open-iscsi and/or iscsid service is started at boot time
    prior to the Emulab blockstore config running. We explicitly turned these services
    off in Ubuntu 14, but not in 16 and above cuz that would involve interaction with
    systemd and some of us don't speak systemd. Anyway, this will work even if the
    services are enabled at boot.
    1c2d994c