Dear Mike,

You can also refer the below bug, which same as this issue.

https://bugzilla.redhat.com/show_bug.cgi?id=738989

On Wednesday, 30 September 2015 14:14:23 UTC+9, Manish Singh wrote:
>
> Dear Mike,
> Thank you for reply.
>
> Please refer the post with below subject posted by me on same issue, it 
> has more detail,
>
> "iSCSI logout all command fails with retCode 21 and then Restart iscsid, 
> Core generated by iscsiuio"
>
> On Wednesday, September 30, 2015 at 7:26:27 AM UTC+9, Mike Christie wrote:
>>
>> On 09/28/2015 08:25 PM, Manish Singh wrote: 
>> > 
>> >     Dear All, 
>> > 
>> >     
>> >    Can anyone reply on below queries? 
>> >   
>> > 
>> >     I have executed delete operation on a target for nodes database 
>> when 
>> >     some sessions are active. Now, when i execute following command, i 
>> >     get below error message. 
>> > 
>> >     [root@HN0101 ~]# iscsiadm -m session 
>> > 
>> >     tcp: [11667] 172.168.2.61:3260 <http://172.168.2.61:3260>,4 
>> >     
>> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0013.target0000
>>  
>>
>> >     (non-flash) 
>> > 
>> >     tcp: [11668] 172.168.2.61:3260 <http://172.168.2.61:3260>,4 
>> >     
>> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0719.target0010
>>  
>>
>> >     (non-flash) 
>> > 
>> >     tcp: [11669] 172.168.2.61:3260 <http://172.168.2.61:3260>,4 
>> >     
>> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0140.target0006
>>  
>>
>> >     (non-flash) 
>> > 
>> >     tcp: [11670] 172.168.2.61:3260 <http://172.168.2.61:3260>,4 
>> >     
>> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0127.target0003
>>  
>>
>> >     (non-flash) 
>> > 
>> >     tcp: [11671] 172.168.2.61:3260 <http://172.168.2.61:3260>,4 
>> >     
>> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0131.target0004
>>  
>>
>> >     (non-flash) 
>> > 
>> >     tcp: [11672] 172.168.2.61:3260 <http://172.168.2.61:3260>,4 
>> >     
>> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0144.target0007
>>  
>>
>> >     (non-flash) 
>> > 
>> >     tcp: [11673] 172.168.2.61:3260 <http://172.168.2.61:3260>,4 
>> >     
>> iqn.2001-03.jp.nec:storage01:ist-m000-sn-0000000942901110.lx-ddsldset-0084.target0002
>>  
>>
>> >     (non-flash) 
>> > 
>> >     iscsiadm: could not read session targetname: 5 
>> > 
>> >     iscsiadm: could not find session info for session3076 
>> > 
>> > 
>> >     I have used RHEL 6.6 linux distro and my open iscsi initiator 
>> >     version is iscsi-initiator-utils-6.2.0.873-13. 
>> > 
>> >     In my environment, we have a RPC XML server which is written in 
>> >     python. When a client request for a operation(say operation1), we 
>> >     execute following iscsiadm command in  sequence using Popen() 
>> >     interface of subprocess module in some portion of the operation, 
>> > 
>> >     1> Logout all session for all target, Command   -   
>>  "/sbin/iscsiadm 
>> >     --mode node --logoutall=all" 
>> >     2> modify iscsi.conf file 
>> >     3> restart iscsid. 
>> >     4> run discovery on all portals of storage device. 
>> >                   If discovery fails on all portals(N/W down or other 
>> >     reasons), then delete the nodes database for each target using 
>> >     iscsiadm utility. 
>>
>> It looks like one of your steps above left a session partially setup in 
>> the kernel. 
>>
>> Why are you restarting iscsid and what command are you using to restart 
>> it? 
>>
>>
>> > 
>> > 
>> >      Now, after above error has occurred, when we go to execute 
>> >     operation1, operation 2, operation 3 but not operation 4. The core 
>> >     is generated by iscsiuio. 
>>
>> iscsiuio is only used for bnx2i, so it should not really come into play 
>> other than starting and stopping if that service is being restarted 
>> along with iscsid. You would need to attach the core so the qlogic or 
>> Red Hat developers can look at it. 
>>
>>
>> > 
>> >     Can any one help me to understand the cause of the problem. 
>> > 
>> > 
>> > -- 
>> > 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 [email protected] 
>> > <mailto:[email protected]>. 
>> > To post to this group, send email to [email protected] 
>> > <mailto:[email protected]>. 
>> > Visit this group at http://groups.google.com/group/open-iscsi. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to