Re: IPv6 Discovery on 2.0.873-suse

2013-02-27 Thread Lee Duncan
Mike Christie  Feb 26 04:35PM -0600
> 
> On 02/26/2013 04:09 PM, The Lee-Man wrote:
> > of that node is fe80::221:ccff:fe6f:1a11.
>  
> > When I run the discovery command:
>  
> > iscsiadm -m discovery -t st -p fe80::221:ccff:fe6f:1a11
>  
> Could you do
>  
> iscsiadm -m discovery -t st -p fe80::221:ccff:fe6f:1a11 -P 1
>  
> so I can see how it is mapping ifaces to discovered ifaces. I bet it is
> goofing up and binding the default one and the em1-ipv6 so you end up
> with 2.

It looks like that is not the case. Output using "-P 1":

Target: iqn.2001-04.net.gonzoleeman:test.disk.laptop.001
Portal: [fe80::221:ccff:fe6f:1a11]:3260,1
Iface Name: em1-ipv6
Iface Name: em1-ipv6

I thought the same thing, but the debug output seemed to imply that my
interface file was being used twice. I even tried specifying the interface 
during 
discovery, but it *still* got used twice.

>  
>  
> > connected to the same target -- not what I intended.
>  
> > I have the output from running the discovery command with "-d 8",
> > but it is 32k, so I hesitate to include it inline.
>  
> Send it to me offlist.
>  

Will do.

-- 
Lee Duncan

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: IPv6 Discovery on 2.0.873-suse

2013-02-26 Thread Mike Christie
On 02/26/2013 04:09 PM, The Lee-Man wrote:
> Hi Mike:
> 
> I am testing the new version of open-iscsi on SLES 11 SP3 Beta.
> This is the update I did to support IPv6, with your help.
> 
> I am validating the IPv6 functionality, and I seem to be experiencing
> double-discovery of my IPv6 target.
> 
> My setup: I have an iscsitarget soft target. The IPv6 Link-local address
> of that node is fe80::221:ccff:fe6f:1a11.
> 
> When I run the discovery command:
> 
> iscsiadm -m discovery -t st -p fe80::221:ccff:fe6f:1a11

Could you do

 iscsiadm -m discovery -t st -p fe80::221:ccff:fe6f:1a11 -P 1

so I can see how it is mapping ifaces to discovered ifaces. I bet it is
goofing up and binding the default one and the em1-ipv6 so you end up
with 2.


> 
> I get the same node discovered twice:
> 
> [fe80::221:ccff:fe6f:1a11]:3260,1
> iqn.2001-04.net.gonzoleeman:test.disk.laptop.001
> [fe80::221:ccff:fe6f:1a11]:3260,1
> iqn.2001-04.net.gonzoleeman:test.disk.laptop.001
> 
> If I happen to run the discovery command with "-l", I get two sessions
> connected to the same target -- not what I intended.
> 
> I have the output from running the discovery command with "-d 8",
> but it is 32k, so I hesitate to include it inline.
> 

Send it to me offlist.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




IPv6 Discovery on 2.0.873-suse

2013-02-26 Thread The Lee-Man
Hi Mike:

I am testing the new version of open-iscsi on SLES 11 SP3 Beta.
This is the update I did to support IPv6, with your help.

I am validating the IPv6 functionality, and I seem to be experiencing
double-discovery of my IPv6 target.

My setup: I have an iscsitarget soft target. The IPv6 Link-local address
of that node is fe80::221:ccff:fe6f:1a11.

When I run the discovery command:

iscsiadm -m discovery -t st -p fe80::221:ccff:fe6f:1a11

I get the same node discovered twice:

[fe80::221:ccff:fe6f:1a11]:3260,1 
iqn.2001-04.net.gonzoleeman:test.disk.laptop.001
[fe80::221:ccff:fe6f:1a11]:3260,1 
iqn.2001-04.net.gonzoleeman:test.disk.laptop.001

If I happen to run the discovery command with "-l", I get two sessions
connected to the same target -- not what I intended.

I have the output from running the discovery command with "-d 8",
but it is 32k, so I hesitate to include it inline.

My interface file for this is in /etc/iscsi/ifaces/em1-ipv6, contents:

face.net_ifacename = em1
face.ipaddress = fe80::92b1:1cff:fe80:660f
iface.transport_name = tcp
iface.state = enable

Another note: when I use IPv6 discovery on this same target, I get only
one discovery record.

Any idea why I am getting this IPv6 double discovery?
Am I using the interface file incorrectly?
-- 
Lee Duncan

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.