[Bug 1001535] Re: No automatic login, except on default interface
Stephen Buckley
stephen.buckley at hogarthww.com
Fri Nov 16 18:05:16 UTC 2012
*** This bug is a duplicate of bug 394398 ***
https://bugs.launchpad.net/bugs/394398
I can confirm I have also encountered the same issue and arrived at the
same conclusion.
FWIW the node.conn[0].startup varialbe does not seem to get set to
automatic when you discover targets with the automatic start-up variable
set in your iscsid.conf. So the scenario outlined in Abel's post #5
would only occur if you are manualy setting that value.
--
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:
Confirmed
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