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

Robie Basak 850960 at bugs.launchpad.net
Fri Sep 13 12:14:38 UTC 2013


>  The version of open-iscsi in precise has a bad hack that means that
you can't use diskless nodes as openstack compute hosts. I would have
thought that fixing a piece of software used by the UEC platform in an
LTS release would qualify as something worth doing.

Absolutely - it is definitely worth doing. I've said this multiple
times, and at no point have I said otherwise. The *way* this needs to be
done is with a minimal patch, so as to minimise regressions for other
users, as per SRU policy. But nobody has brought such a patch forward.

I have not asked the SRU team. Instead, I'm going on my familiarity with
SRU procedure, which is well documented
(https://wiki.ubuntu.com/StableReleaseUpdates). But if you would like to
consult them, then please do. Exceptions can be made. For the venue? Try
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel or
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss as you
feel is appropriate.

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