Public bug reported:

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

** Affects: open-iscsi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1001535

Title:
  No automatic login, except on default interface

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to