Re: Target address redirect ignored

2008-05-06 Thread ptashek

 I am working on a patch.

Thank's Mike!
I'll keep an eye on this thread.

regards,
Lukasz
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: Target address redirect ignored

2008-05-02 Thread ptashek

 The bug in this thread is is just a dumb problem where discovery.c gets
 LOGIN_REDIRECT and treats it like success instead of following the new
 portal.

Great. So it's a bug then.
Does a patch exist, or is this the patch you have mentioned? :)


regards,
Lukasz

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: Target address redirect ignored

2008-04-29 Thread Boaz Harrosh

On Mon, Apr 28 2008 at 20:15 +0300, Mike Christie [EMAIL PROTECTED] wrote:
 ptashek wrote:
 I have looked around the web, but haven't found a similar issue which
 suggests that this may be a simple config issue, which I have just not
 found yet. However, if anyone has any thoughts on this, please share!

 
 You did not find anything on the web, because you are the first person 
 to report it :)
 
 open-iscsi took linux-iscsi's discovery code and login code, but when it 
 integrated it into open-iscsi it goofed in several places. This is one 
 of them.
 
 What target are you using?
 
 I will try to send a patch later in the week for you to test.
 

It looks like this patch could be the beginning of what we, pNFS people,
wanted. A kernel API for discovery and login. Or have I mis-understood
the problem/solution.

Boaz


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: Target address redirect ignored

2008-04-29 Thread Mike Christie

Boaz Harrosh wrote:
 On Mon, Apr 28 2008 at 20:15 +0300, Mike Christie [EMAIL PROTECTED] wrote:
 ptashek wrote:
 I have looked around the web, but haven't found a similar issue which
 suggests that this may be a simple config issue, which I have just not
 found yet. However, if anyone has any thoughts on this, please share!

 You did not find anything on the web, because you are the first person 
 to report it :)

 open-iscsi took linux-iscsi's discovery code and login code, but when it 
 integrated it into open-iscsi it goofed in several places. This is one 
 of them.

 What target are you using?

 I will try to send a patch later in the week for you to test.

 
 It looks like this patch could be the beginning of what we, pNFS people,
 wanted. A kernel API for discovery and login. Or have I mis-understood
 the problem/solution.
 

The bug in this thread is is just a dumb problem where discovery.c gets 
LOGIN_REDIRECT and treats it like success instead of following the new 
portal.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Target address redirect ignored

2008-04-28 Thread ptashek

Hi,

I'm observing some strange behavior from a range of Linux
distributions running open-iscsi: they're not following a redirect in
discovery mode.

When I run:
iscsiadm --mode discovery --type sendtargets --portal portal_ip

the initiator connects to the portal, which then sends a redirect
packet with a new TargetAddress value.
Under RHEL 4.6 this is accepted and the initiator retries discovery on
the new target. However on Ubuntu, RHEL 5.x and SuSE 10 the redirect
is silently ignored.

The only difference between these systems is the implementation of
iSCSI they run - SFNet (linux-iscsi?) on RHEL 4 and open-iscsi on the
others. I've made packet captures to see whether the initial target
sends the same response to either system, and it does.

The working platform is RHEL 4 update 6, running kernel 2.6.9-67.ELsmp
and iscsi-initiator-utils-4.0.3.0-6

The non-working platforms are RHEL 5 update 1, Ubuntu 7.10 and 8.04
and SuSE 10, all running the most recent version of open-iscsi from
repositories. I have also tried compiling from latest source release,
but the issue remains.

I have looked around the web, but haven't found a similar issue which
suggests that this may be a simple config issue, which I have just not
found yet. However, if anyone has any thoughts on this, please share!

regards,
Lukasz Szmit
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---