[Bug 1001535] Re: No automatic login, except on default interface

Ubuntu Foundation's Bug Bot 1001535 at bugs.launchpad.net
Sat Jun 9 16:25:36 UTC 2012


The attachment "open-iscsi.patch" of this bug report has been identified
as being a patch.  The ubuntu-reviewers team has been subscribed to the
bug report so that they can review the patch.  In the event that this is
in fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch.  Additionally, if you are member of the ubuntu-
reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

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

Title:
  No automatic login, except on default interface

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

Bug description:
  Release: Ubuntu 12.04 LTS
  Package Version: 2.0.871-0ubuntu9

  Scenario, created multiple interfaces for SAN

  sudo iscsiadm -m iface -I eth0 -o new
  sudo iscsiadm -m iface -I eth1 -o new
  sudo iscsiadm -m iface -I eth2 -o new
  sudo iscsiadm -m iface -I eth3 -o new
  sudo iscsiadm -m discovery -t st -p 192.168.1.1
  sudo iscsiadm -m node -T iqn.2001-05.com.equallogic:1234567890 -l
  sudo iscsiadm -m node -T iqn.2001-05.com.equallogic:1234567890 -o update -n node.startup -v automatic

  What I expected to happen:
  Automatic login on eth0...eth3, on open-iscsi start

  What happened:
  No automatic login on any iscsci interface, no errors

  Problem:
  /etc/init.d/open-iscsi tries to start sessions on "/etc/iscsi/nodes/*/*/default" only

  My Solution:
  Change two lines in /etc/init.d/open-iscsi from "/etc/iscsi/nodes/*/*/default" to "/etc/iscsi/nodes/*/*/*"
  See patch file

  Conclusion:
  I dont know if this was the proper solution, tried finding a solution searching the Internet for hours, could not find a fix for my issue, and this was driving me nuts, hope this helps someone else, and if this is the proper solution hope this gets included somewhere down the line. 

  Thank you world for open source :-)

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




More information about the foundations-bugs mailing list