[Bug 656119] New: iscsi restart kills iscsi sessions
https://bugzilla.novell.com/show_bug.cgi?id=656119 https://bugzilla.novell.com/show_bug.cgi?id=656119#c0 Summary: iscsi restart kills iscsi sessions Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mendel@mobach.nl QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 Firefox/3.6.12 iscsid from open-iscsi does not know what authentication an admin uses on a iscsi session. If you restart iscsid it tries to re-establish sessions but goes for CHAP authentication by default. When using no authentication to setup iscsi in the first place this will generate an error at the iscsi target (server) site and deny the connection. In normal operations you won't restart iscsid that fast, but when running with root on iscsi it does kill iscsid in the initrd and starts the real /sbin/iscsid again in boot.open-iscsi. This behaviour will fail iscsi connections immediately after boot. Reproducible: Always Steps to Reproduce: 1. setup a opensuse 11.3 installation with root on iscsi 2. try to boot this opensuse 11.3 installation 3. see that it does fail. Actual Results: iscsi connections getting killed. Expected Results: iscsi connections reestablished after boot.open-iscsi did run. A quick fix is to comment out the following code in open-iscsi-2.0.870-32.1:usr/iscsid.c line 233 /* * target and portal values have to be the same or * we would not have found the record, so just copy * CHAP. */ // memcpy(&rec.session.auth, &sysfsrec.session.auth, // sizeof(struct iscsi_auth_config)); This will make iscsid use the configuration file information which is more correct than no information and some guesses. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c3
--- Comment #3 from Ankit Jain
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c4
--- Comment #4 from Hannes Reinecke
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c6
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c7
Ankit Jain
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c9
Ankit Jain
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c12
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c13
--- Comment #13 from Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c14
--- Comment #14 from Ankit Jain
The SWAMPID for this issue is 42049. This issue was rated as low. Please submit fixed packages until 2011-08-01. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/42049
I have submitted fixed packages for 11.3 and 11.4, and created patchinfo file with that swamp url. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c16
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c17
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c26
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c
Mendel Mobach
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=656119
https://bugzilla.novell.com/show_bug.cgi?id=656119#c
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com