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

Abel Cheung 1001535 at bugs.launchpad.net
Tue Jun 12 13:40:54 UTC 2012


This bug has been opened 10.04 days, as bug #669142. The core of problem
here is, Ubuntu modifications of open-iscsi was based on the braindead
Debian versions *four years ago*, and no attempt of rebasing the work on
recent Debian package (which at least reverts some of the stupid
'features') is done at all.

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