[Bug 1001535] Re: No automatic login, except on default interface
Vassilis Vatikiotis
1001535 at bugs.launchpad.net
Sat Jun 9 15:47:34 UTC 2012
Confirm it. Patch works.
--
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