[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
Mon Jul 30 08:48:42 UTC 2012


** Description changed:

+ [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.

-- 
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:
  In Progress

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