Re: iscsiadm unable to connect to iscsd

2019-09-30 Thread The Lee-Man
See https://github.com/open-iscsi/open-iscsi/pull/174

On Friday, September 20, 2019 at 2:02:20 AM UTC-7, Dirk Laurenz wrote:
>
> Hi,
>
> want to read the session stats for a connection, but iscsiadm claims not 
> to be able to connect to iscsd.
> I'm not sure how to debug this:
>
> $host:/etc/iscsi # iscsiadm -m session
> tcp: [1] $IP1:3260,1032 $host1-lun01 (non-flash)
> tcp: [2] $IP2:3260,1032 $host2-lun01 (non-flash)
> tcp: [3] $IP3:3260,1 $host3:lun01 (non-flash)
> $host:/etc/iscsi # iscsiadm -m session -r 2 -s
> iscsiadm: Could not execute operation on all sessions: could not connect 
> to iscsid
>
> any idea?
>
> OS is SLES4SAP12 SP4
>
> Regards,
>
> Dirk
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/open-iscsi/f4da4808-aa2a-4de5-ace3-8f8a072b6593%40googlegroups.com.


Re: iscsiadm unable to connect to iscsd

2019-09-30 Thread The Lee-Man
Okay, I believe I found the problem, and it's one that I've seen before. On 
one particular path -- in this case, when you specify "-s" as well as "-r 
N" -- the code path forgets to set the timeout to "none" when communicating 
with iscsid.

I have pushed my change to https://github.com/gonzoleeman/open-iscsi branch 
fix-session-display-error

Please feel free to try this out before I merge it into the main line, but 
it seems to fix the problem for me.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/open-iscsi/30c2ecf6-5d7b-42be-9487-4d07b18fd5c5%40googlegroups.com.


Re: iscsiadm unable to connect to iscsd

2019-09-30 Thread The Lee-Man
On Friday, September 20, 2019 at 2:02:20 AM UTC-7, Dirk Laurenz wrote:
>
> Hi,
>
> want to read the session stats for a connection, but iscsiadm claims not 
> to be able to connect to iscsd.
> I'm not sure how to debug this:
>
> $host:/etc/iscsi # iscsiadm -m session
> tcp: [1] $IP1:3260,1032 $host1-lun01 (non-flash)
> tcp: [2] $IP2:3260,1032 $host2-lun01 (non-flash)
> tcp: [3] $IP3:3260,1 $host3:lun01 (non-flash)
> $host:/etc/iscsi # iscsiadm -m session -r 2 -s
> iscsiadm: Could not execute operation on all sessions: could not connect 
> to iscsid
>
> any idea?
>

That looks like a bug! Let me check it out. 

>
> OS is SLES4SAP12 SP4
>
> Regards,
>
> Dirk
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/open-iscsi/64893402-6977-497d-91a4-9eb557d7a705%40googlegroups.com.