[Bug 850960] Re: iscsid tries to reconnect existing session at startup, failing to do so and hanging the system

voice06 voice06 at gmail.com
Wed Nov 19 17:04:07 UTC 2014


This is still an occurring issue that is preventing my server, which
uses a dedicated iSCSI HBA, from being able to successfully boot after a
fresh install.

The short of it is as follows:
- OS installs via the dedicated iSCSI HBA
- open-iscsi gets installed, then gets configured to autostart and use the same lun the HBA is using
- open-iscsi takes the lun from the HBA during boot, the system completely locks

There doesn't seem to be a choice given regarding the installation of
open-iscsi during the installation for server versions of 14.04.1 or
14.10, it just blindly installs the package and auto-configures it. At
the very least there should be an option to prevent open-iscsi from
installing or by default install it so it does not start at boot if a
dedicated HBA is detected.

The hardware is a Dell PowerEdge 810 with a QLogic isp4032-based HBA.

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

Title:
  iscsid tries to reconnect existing session at startup, failing to do
  so and hanging the system

Status in “open-iscsi” package in Ubuntu:
  Fix Released
Status in “open-iscsi” source package in Precise:
  Triaged

Bug description:
  [Impact]
  This bug affects iSCSI when acting as an initiator only.

  Works: everything when not using an iSCSI root fs.
  Works: an iSCSI root fs when not using iSCSI for any other mounts after the root fs is mounted.
  Doesn't work: further iSCSI mounts after using an iSCSI root fs. For example: OpenStack won't work on a node using an iSCSI root fs, since OpenStack uses further iSCSI mounts.

  [Original Description]

  When starting open-iscsi with an already established session (from
  iscsistart), iscsid tries to reconnect it and fails to do it (wrong
  AuthMethod).

  Before Oneiric, a bug prevented iscsid from starting, making it "work"
  when root is on iscsi. That's as long as you don't need to mount
  another lun.

  In Oneiric, this bug got fixed, exposing the open-iscsi bug. The
  workaround for now (bug 838809) is to exit the open-iscsi init script
  when detecting we already have a session established from the
  initramfs.

  Ideally, open-iscsi should be able to start, detect that a session is
  already established and either not touch it at all or be able to
  reconnect it with the right settings.

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



More information about the foundations-bugs mailing list