https://bugzilla.novell.com/show_bug.cgi?id=480550
Summary: Setting an iSCSI target to "onboot" through yast2 doesn't mount it when open-iscsi service is started Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kamil@zymeworks.com QAContact: qa@suse.de Found By: ---
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
I expect that an iscsi target marked as "onboot" will be started when the open-iscsi service starts. However, this doesn't appear to work.
Reproducible: Always
Steps to Reproduce: 1. Go to the "iSCSI Initiator" configuration dialog in Yast2 2. Discover a target, log on, make sure the service is set to "onboot" 3. Click finish, exit yast2 4. From the console, log out of all iscsi targets. eg: iscsiadm -m node -U all 5. Restart the open-iscsi service: service open-iscsi restart Actual Results: onboot target is not connected when the open-iscsi service starts.
iscsiadm -m session shows no active sessions.
Expected Results: onboot target is connected when the open-iscsi service starts.
https://bugzilla.novell.com/show_bug.cgi?id=480550
User gerard@ubusha.co.za added comment https://bugzilla.novell.com/show_bug.cgi?id=480550#c1
Gerard Taylor gerard@ubusha.co.za changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gerard@ubusha.co.za
--- Comment #1 from Gerard Taylor gerard@ubusha.co.za 2009-03-02 23:50:23 MST --- In testing SLES11 on both Beta2 and RC3 I have the same problem.
https://bugzilla.novell.com/show_bug.cgi?id=480550
User chrubis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480550#c2
Cyril Hrubis chrubis@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kamil@zymeworks.com
--- Comment #2 from Cyril Hrubis chrubis@novell.com 2009-03-13 11:03:21 MST --- Please attach y2logs. If you are in doubt follow:
http://en.opensuse.org/Bugs/YaST
Thanks!
https://bugzilla.novell.com/show_bug.cgi?id=480550
User kamil@zymeworks.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480550#c3
--- Comment #3 from Kamil Kisiel kamil@zymeworks.com 2009-03-13 11:46:26 MST --- Created an attachment (id=279516) --> (https://bugzilla.novell.com/attachment.cgi?id=279516) My y2logs
In particular, see the xen-ocfs2 and test0 targets.
https://bugzilla.novell.com/show_bug.cgi?id=480550
User kamil@zymeworks.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480550#c4
--- Comment #4 from Kamil Kisiel kamil@zymeworks.com 2009-03-13 11:49:09 MST --- In the process of creating the above logs, I think I stumbled upon the crux of the matter.
For automatic login, the open-iscsi init script executes the following on line 33: $ISCSIADM -m node --loginall=automatic 2> /dev/null
However, by default, nodes are created with node.startup = automatic unless you modify /etc/iscsid.conf to say otherwise.
The setting in YaST2 seems to manipulate the node.conn[0].startup = [onboot|manual] property for a node instead of node.startup = [manual|automatic].
https://bugzilla.novell.com/show_bug.cgi?id=480550
Cyril Hrubis chrubis@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mzugec@novell.com |ovo.novell.com |
https://bugzilla.novell.com/show_bug.cgi?id=480550
User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480550#c5
Michal Zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|kamil@zymeworks.com | Resolution| |DUPLICATE
--- Comment #5 from Michal Zugec mzugec@novell.com 2009-03-16 01:51:05 MST --- We already have such bugreport. It was reported too late for openSUSE11.1, but it's fixed in SLES11
*** This bug has been marked as a duplicate of bug 457252 *** https://bugzilla.novell.com/show_bug.cgi?id=457252