[Bug 1083135] Re: open-iscsi bound to if-*.d in networking kills iSCSI connections

Launchpad Bug Tracker 1083135 at bugs.launchpad.net
Fri May 24 09:28:16 UTC 2013


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: open-iscsi (Ubuntu)
       Status: New => Confirmed

-- 
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/1083135

Title:
  open-iscsi bound to if-*.d in networking kills iSCSI connections

Status in “open-iscsi” package in Ubuntu:
  Confirmed

Bug description:
  OS:
  Description:    Ubuntu 12.04 LTS
  Release:        12.04

  open-iscsi:
    Installed: 2.0.871-0ubuntu9
    Candidate: 2.0.871-0ubuntu9.12.04.1
    Version table:
       2.0.871-0ubuntu9.12.04.1 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
   *** 2.0.871-0ubuntu9 0
          500 http://hu.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  Hi,

  I have found that open-iscsi puts start/stop links into the if-up.d
  and if-down.d directories under networking. These are unfiltered and
  will cause all active iSCSI connections to be torn down as soon as
  _ANY_ interface (in my case a bridge that became unneeded - completely
  unrelated to iSCSI connections) is brought down, causing possibly
  catastrophic failures including data loss in processes (VMs in my
  case) using those iSCSI connections.

  PoC:
  1. Install open-iscsi, log into some target
  2. Create an interface config in /etc/network/interfaces
  3. "ifup" the new interface, observe the start message of open-iscsi (!)
  4. "ifdown" the interface, observe that open-iscsi is stopped, and the block-devices backed by the targets are gone

  These links need to be removed ASAP as they pose direct danger of data
  loss by reacting to all events, even from completely unrelated
  einterfaces, plus doing that in a completely unacceptable manner.
  Either they will need to be replaced with filtered scripts to only
  react to interfaces that they are using AND do that in a proper manner
  instead of shutting down everything; or they could be dropped
  altogether, path management can be scripted or done elsewhere.

  regards,
  --
  Jacint

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1083135/+subscriptions




More information about the foundations-bugs mailing list