Re: iSNS discovery error (login)

2009-01-19 Thread Dheeraj Sangamkar
As far as I know, your transactions/sessions with the iSNS server and those
with the iSCSI target should be independent.
The iSNS can give you target information and you can use it to connect to
target and login.
Targets themselves are iSNS clients like your initiator. They register the
information with the iSNS server that you as an iSNS client can use to
connect to the target. If there is a descrepency, your login can fail.

However, once way chap authentication is a minimum according to the standard
and if your initiator offer this and the target mandates this, then there
could be trouble during login.

Dheeraj


On Mon, Jan 19, 2009 at 2:57 PM, Nikhil Talpallikar 
nikhil.talpalli...@gmail.com wrote:

 Hi,
 I cannot login to a target if I do a discovery via iSNS server, but if I do
 discovery using SendTarget method I can login
 I could figure out something.but i am not able to resolve it.

 When I do discovery via ST the req-flags (Login PDU flags) are set
 to ISCSI_FLG_CSG_SECURITY, which calls CHAP authentication method.

 But when I do a discovery via iSNS server req-flags are set
 to ISCSI_FLG_CSG_LOGIN due to which it does not use CHAP authentication.

 Why is this so? Does the iSNS server interfere with the login PDU???



 --
 If you fool me once shame on you. If you fool me twice shame on me.

   \|||/
  (o o)
 ooO-(_)-Ooo

 Nikhil Talpallikar
 --talli ;)

 



-- 
Simplicity of character is the natural result of profound thought.

--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iSNS discovery error (login)

2009-01-19 Thread Nikhil Talpallikar
I agree .. that is why I am having trouble (unable to connect
the dots) .. and need some explanation if anyone has come across
this kind of situation and solved it. Afterall what effect can iSNS
discovery have on Login PDU ??
Just unable to connect and reason what I have observed.



On Mon, Jan 19, 2009 at 3:23 PM, Dheeraj Sangamkar dheera...@gmail.comwrote:

 As far as I know, your transactions/sessions with the iSNS server and those
 with the iSCSI target should be independent.
 The iSNS can give you target information and you can use it to connect to
 target and login.
 Targets themselves are iSNS clients like your initiator. They register the
 information with the iSNS server that you as an iSNS client can use to
 connect to the target. If there is a descrepency, your login can fail.

 However, once way chap authentication is a minimum according to the
 standard and if your initiator offer this and the target mandates this, then
 there could be trouble during login.

 Dheeraj



 On Mon, Jan 19, 2009 at 2:57 PM, Nikhil Talpallikar 
 nikhil.talpalli...@gmail.com wrote:

 Hi,
 I cannot login to a target if I do a discovery via iSNS server, but if I
 do discovery using SendTarget method I can login
 I could figure out something.but i am not able to resolve it.

 When I do discovery via ST the req-flags (Login PDU flags) are set
 to ISCSI_FLG_CSG_SECURITY, which calls CHAP authentication method.

 But when I do a discovery via iSNS server req-flags are set
 to ISCSI_FLG_CSG_LOGIN due to which it does not use CHAP authentication.

 Why is this so? Does the iSNS server interfere with the login PDU???



 --
 If you fool me once shame on you. If you fool me twice shame on me.

   \|||/
  (o o)
 ooO-(_)-Ooo

 Nikhil Talpallikar
 --talli ;)





 --
 Simplicity of character is the natural result of profound thought.

 



-- 
If you fool me once shame on you. If you fool me twice shame on me.

  \|||/
 (o o)
ooO-(_)-Ooo

Nikhil Talpallikar
--talli ;)

--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iSNS discovery error (login)

2009-01-19 Thread Mike Christie

Nikhil Talpallikar wrote:
 Hi,
 I cannot login to a target if I do a discovery via iSNS server, but if I do

Are you doing

iscsiadm -m discovery -t isns


 discovery using SendTarget method I can login
 I could figure out something.but i am not able to resolve it.
 
 When I do discovery via ST the req-flags (Login PDU flags) are set
 to ISCSI_FLG_CSG_SECURITY, which calls CHAP authentication method.
 
 But when I do a discovery via iSNS server req-flags are set
 to ISCSI_FLG_CSG_LOGIN due to which it does not use CHAP authentication.


It might be a bug in the open-iscsi setup code.

Do you have the CHAP settings in /etc/iscsi/iscsid.conf

?

Then when you do

iscsiadm -m discovery -t isns


for the targets found if you do

iscsiadm -m node -T your_target -p ip:port


When it spits out the node info do you see the CHAP settings that should 
get used?


What version of the open-iscsi tools are using? Are then from 
open-iscsi.org or from a distro?


 Why is this so? Does the iSNS server interfere with the login PDU???
 
 
 


--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iSNS discovery error (login)

2009-01-19 Thread vaibhav pol
Check your CHAP setting in your configure file.

Vaibhav  Pol



On Tue, Jan 20, 2009 at 12:03 AM, Mike Christie micha...@cs.wisc.eduwrote:


 Nikhil Talpallikar wrote:
  Hi,
  I cannot login to a target if I do a discovery via iSNS server, but if I
 do

 Are you doing

 iscsiadm -m discovery -t isns


  discovery using SendTarget method I can login
  I could figure out something.but i am not able to resolve it.
 
  When I do discovery via ST the req-flags (Login PDU flags) are set
  to ISCSI_FLG_CSG_SECURITY, which calls CHAP authentication method.
 
  But when I do a discovery via iSNS server req-flags are set
  to ISCSI_FLG_CSG_LOGIN due to which it does not use CHAP authentication.
 

 It might be a bug in the open-iscsi setup code.

 Do you have the CHAP settings in /etc/iscsi/iscsid.conf

 ?

 Then when you do

 iscsiadm -m discovery -t isns


 for the targets found if you do

 iscsiadm -m node -T your_target -p ip:port


 When it spits out the node info do you see the CHAP settings that should
 get used?


 What version of the open-iscsi tools are using? Are then from
 open-iscsi.org or from a distro?


  Why is this so? Does the iSNS server interfere with the login PDU???
 
 
 


 


--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iSNS discovery error (login)

2009-01-19 Thread Nikhil Talpallikar
hi,

On Tue, Jan 20, 2009 at 12:03 AM, Mike Christie micha...@cs.wisc.eduwrote:


 Nikhil Talpallikar wrote:
  Hi,
  I cannot login to a target if I do a discovery via iSNS server, but if I
 do

 Are you doing

 iscsiadm -m discovery -t isns


yes




  discovery using SendTarget method I can login
  I could figure out something.but i am not able to resolve it.
 
  When I do discovery via ST the req-flags (Login PDU flags) are set
  to ISCSI_FLG_CSG_SECURITY, which calls CHAP authentication method.
 
  But when I do a discovery via iSNS server req-flags are set
  to ISCSI_FLG_CSG_LOGIN due to which it does not use CHAP authentication.
 

 It might be a bug in the open-iscsi setup code.

 Do you have the CHAP settings in /etc/iscsi/iscsid.conf

 ?


yes




 Then when you do

 iscsiadm -m discovery -t isns


 for the targets found if you do

 iscsiadm -m node -T your_target -p ip:port


 When it spits out the node info do you see the CHAP settings that should
 get used?


yes



 What version of the open-iscsi tools are using? Are then from
 open-iscsi.org or from a distro?


Its from a distro. RPM is open-iscsi-2.0.707-0.19.i586.rpm.



  Why is this so? Does the iSNS server interfere with the login PDU???
 
 
 


 


It can be a bug as you say. But where does the iSNS play a role in this
bug.
What I want to know is whether the initiator keeps some kind of mapping or a
flag for targets discovered via iSNS???


-- 
If you fool me once shame on you. If you fool me twice shame on me.

  \|||/
 (o o)
ooO-(_)-Ooo

Nikhil Talpallikar
--talli ;)

--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: iSNS discovery error (login)

2009-01-19 Thread Nikhil Talpallikar
hi,

On Tue, Jan 20, 2009 at 12:03 AM, Mike Christie micha...@cs.wisc.edu
 wrote:


 Nikhil Talpallikar wrote:
  Hi,
  I cannot login to a target if I do a discovery via iSNS server, but if I
 do

 Are you doing

 iscsiadm -m discovery -t isns


yes




  discovery using SendTarget method I can login
  I could figure out something.but i am not able to resolve it.
 
  When I do discovery via ST the req-flags (Login PDU flags) are set
  to ISCSI_FLG_CSG_SECURITY, which calls CHAP authentication method.
 
  But when I do a discovery via iSNS server req-flags are set
  to ISCSI_FLG_CSG_LOGIN due to which it does not use CHAP authentication.
 

 It might be a bug in the open-iscsi setup code.

 Do you have the CHAP settings in /etc/iscsi/iscsid.conf

 ?


yes




 Then when you do

 iscsiadm -m discovery -t isns


 for the targets found if you do

 iscsiadm -m node -T your_target -p ip:port


 When it spits out the node info do you see the CHAP settings that should
 get used?


yes



 What version of the open-iscsi tools are using? Are then from
 open-iscsi.org or from a distro?


Its from a distro. RPM is open-iscsi-2.0.707-0.19.i586.rpm.



  Why is this so? Does the iSNS server interfere with the login PDU???
 



It can be a bug as you say. But where does the iSNS play a role in this
bug.
What I want to know is whether the initiator keeps some kind of mapping or a
flag for targets discovered via iSNS which later interferes with the login
PDU's CSG and NSG flags???


cheers,
Nikhil


-- 
If you fool me once shame on you. If you fool me twice shame on me.

  \|||/
 (o o)
ooO-(_)-Ooo

Nikhil Talpallikar
--talli ;)

--~--~-~--~~~---~--~~
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 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---