Skip to contentSkip to conversation

New: iscsi session re-establishment by client does not work (auth method rejected by target)

Bug 26992 [email protected] 2 participants 7 messages Jan 18, 2011 – Jan 20, 2011 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=26992

Summary: iscsi session re-establishment by client does not work
(auth method rejected by target)
Product: IO/Storage
Version: 2.5
Kernel Version: >=2.6.33
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: blocking
Priority: P1
Component: SCSI
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Regression: No

Latest client kernel version known to work: 2.6.32.27 (vanilla) First client kernel version known NOT to work: 2.6.33 (vanilla)

I'm doing sanboot via iSCSI/TCP using gPXE 1.0.1 from etherboot.org. The gPXE chain boot loader registers the iSCSI target lun as boot disk and when the Ubuntu OS starts iscsid, session re-establishment fails when using kernel 2.6.33 or higher on the client (session startup configured as manual). Works perfectly with 2.6.32.27 on the client.

The client machine uses open-iscsi v2.0-871 (Ubuntu 10.04/Lucid).

Tested against:
iscsi-target v1.4.20.2
and
stgt v1.0.12
(running on kernel 2.6.35.8)

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 26992] iscsi session re-establishment by client does not work (auth method rejected by target)

https://bugzilla.kernel.org/show_bug.cgi?id=26992

--- Comment #1 from Mark <[email protected]> 2011-01-18 00:13:46 ---
FYI: to reproduce the bug, it should be sufficient to kill -KILL iscsid on the client, and then restart it.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw
In reply to [email protected]
Quoted 20 lines · On 01/17/2011 06:12 PM, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=26992

Summary: iscsi session re-establishment by client does not work
(auth method rejected by target)
Product: IO/Storage
Version: 2.5
Kernel Version:>=2.6.33
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: blocking
Priority: P1
Component: SCSI
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Regression: No

Quoted 9 lines

Latest client kernel version known to work: 2.6.32.27 (vanilla) First client kernel version known NOT to work: 2.6.33 (vanilla)

I'm doing sanboot via iSCSI/TCP using gPXE 1.0.1 from etherboot.org. The gPXE chain boot loader registers the iSCSI target lun as boot disk and when the Ubuntu OS starts iscsid, session re-establishment fails when using kernel 2.6.33 or higher on the client (session startup configured as manual). Works perfectly with 2.6.32.27 on the client.

Are these kernel.org/open-iscsi.org open-iscsi tools ir distro build ones?

I think this is due to a sysfs issue. If I am right it should be fixed in 872 (http://kernel.org/pub/linux/kernel/people/mnc/open-iscsi/releases/open-iscsi-2.0-872.tar.gz) or I think you can change the SYSFS DEPRECIATED and SYSFS V2 DEPRECIATED settings. I cannot remember if you need to turn it on or off (I think you need to turn it on with older tools). Send your .config.

Also could you send the log messages for when it fails? And does normal login work? If you just boot from a local drive and run iscsiadm to login does it fail? What is the error message and what is the /var/log/message output?

#3 lore raw

[Bug 26992] iscsi session re-establishment by client does not work (auth method rejected by target)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=26992

--- Comment #2 from Anonymous Emailer <[email protected]> 2011-01-18 00:26:43 ---
Reply-To: [email protected]

Quoted 20 lines · On 01/17/2011 06:12 PM, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=26992

Summary: iscsi session re-establishment by client does not work
(auth method rejected by target)
Product: IO/Storage
Version: 2.5
Kernel Version:>=2.6.33
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: blocking
Priority: P1
Component: SCSI
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Regression: No

Quoted 9 lines

Latest client kernel version known to work: 2.6.32.27 (vanilla) First client kernel version known NOT to work: 2.6.33 (vanilla)

I'm doing sanboot via iSCSI/TCP using gPXE 1.0.1 from etherboot.org. The gPXE chain boot loader registers the iSCSI target lun as boot disk and when the Ubuntu OS starts iscsid, session re-establishment fails when using kernel 2.6.33 or higher on the client (session startup configured as manual). Works perfectly with 2.6.32.27 on the client.

Are these kernel.org/open-iscsi.org open-iscsi tools ir distro build ones?

I think this is due to a sysfs issue. If I am right it should be fixed in 872
(http://kernel.org/pub/linux/kernel/people/mnc/open-iscsi/releases/open-iscsi-2.0-872.tar.gz)
or I think you can change the SYSFS DEPRECIATED and SYSFS V2 DEPRECIATED settings. I cannot remember if you need to turn it on or off (I think you need to turn it on with older tools). Send your .config.

Also could you send the log messages for when it fails? And does normal login work? If you just boot from a local drive and run iscsiadm to login does it fail? What is the error message and what is the /var/log/message output?

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 26992] iscsi session re-establishment by client does not work (auth method rejected by target)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=26992

Mark <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |PATCH_ALREADY_AVAILABLE

--- Comment #3 from Mark <[email protected]> 2011-01-20 19:12:33 --- Thanks!

v872 works.

BTW: v872 is not available at open-iscsi.org/bits. Otherwise I would have found it before filing this bug. :-)

I'll enter an Ubuntu bug -- maybe they didn't find it either.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

Re: [Bug 26992] iscsi session re-establishment by client does not work (auth method rejected by target)

Quoted 4 lines · On 01/20/2011 01:12 PM, [email protected] wrote:

BTW: v872 is not available at open-iscsi.org/bits. Otherwise I would have found it before filing this bug. :-)

Ah yeah, sorry about that. We are having trouble with access to open-iscsi.org. I cannot access it to update it, so I have been putting updates on http://kernel.org/pub/linux/kernel/people/mnc/open-iscsi/.

#6 lore raw

[Bug 26992] iscsi session re-establishment by client does not work (auth method rejected by target)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=26992

--- Comment #4 from Anonymous Emailer <[email protected]> 2011-01-20 20:30:39 ---
Reply-To: [email protected]

Quoted 4 lines · On 01/20/2011 01:12 PM, [email protected] wrote:

BTW: v872 is not available at open-iscsi.org/bits. Otherwise I would have found it before filing this bug. :-)

Ah yeah, sorry about that. We are having trouble with access to open-iscsi.org. I cannot access it to update it, so I have been putting updates on http://kernel.org/pub/linux/kernel/people/mnc/open-iscsi/.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.