Created attachment 958033[details]
logs
Description of problem:
The operation of detaching a single iSCSi domain with a single host on DC, prompts a connection to ( $NUM_OF_SESSIONS -1 ) every time.
Before detach, the connections are as they should:
[root@camel-vdsc yum.repos.d]# iscsiadm -m session
tcp: [25] 10.35.160.104:3260,1 iqn.1992-04.com.emc:cx.ckm00121000438.a6
tcp: [26] 10.35.160.105:3260,2 iqn.1992-04.com.emc:cx.ckm00121000438.a7
tcp: [27] 10.35.160.106:3260,3 iqn.1992-04.com.emc:cx.ckm00121000438.b6
tcp: [28] 10.35.160.107:3260,4 iqn.1992-04.com.emc:cx.ckm00121000438.b7 (see devices file)
During maintenance:
[root@camel-vdsc yum.repos.d]# iscsiadm -m session
iscsiadm: No active sessions. (see devices file)
After detach:
[root@camel-vdsc yum.repos.d]# iscsiadm -m session
tcp: [30] 10.35.160.107:3260,4 iqn.1992-04.com.emc:cx.ckm00121000438.b7
tcp: [32] 10.35.160.105:3260,2 iqn.1992-04.com.emc:cx.ckm00121000438.a7
tcp: [34] 10.35.160.106:3260,3 iqn.1992-04.com.emc:cx.ckm00121000438.b6
(see device file)
The ui reports host as being connected to all iqn's, now, when attempting this flow again, the result we get is a constant iqn status which doesn't change(even when not having any domains up)
Version-Release number of selected component (if applicable):
vt10
How reproducible:
100%
Steps to Reproduce:
1.create iSCSi domain
2.detach it
Actual results:
upon detach, host is connected to ( $NUM_OF_SESSIONS -1 ) iqn's, iqn sessions number don't change after this operation
Expected results:
detaching an iSCSi domain shouldn't prompt any iqn login, in our case I expect to see no sessions after detach domain.
Additional info:
(In reply to Allon Mureinik from comment #1)
> Liron/Greg, is this related to bug 1176402?
Unsure. I'm figuring out (with Ori) if/how I can reproduce the issue and won't know more until then.
Hey Allon, storage should be VNX, sorry, this fact has not been mentioned.
have a VNX storage domain on a dc with one File domain and one iSCSI.
detach the iSCSI domain.
Created attachment 958033 [details] logs Description of problem: The operation of detaching a single iSCSi domain with a single host on DC, prompts a connection to ( $NUM_OF_SESSIONS -1 ) every time. Before detach, the connections are as they should: [root@camel-vdsc yum.repos.d]# iscsiadm -m session tcp: [25] 10.35.160.104:3260,1 iqn.1992-04.com.emc:cx.ckm00121000438.a6 tcp: [26] 10.35.160.105:3260,2 iqn.1992-04.com.emc:cx.ckm00121000438.a7 tcp: [27] 10.35.160.106:3260,3 iqn.1992-04.com.emc:cx.ckm00121000438.b6 tcp: [28] 10.35.160.107:3260,4 iqn.1992-04.com.emc:cx.ckm00121000438.b7 (see devices file) During maintenance: [root@camel-vdsc yum.repos.d]# iscsiadm -m session iscsiadm: No active sessions. (see devices file) After detach: [root@camel-vdsc yum.repos.d]# iscsiadm -m session tcp: [30] 10.35.160.107:3260,4 iqn.1992-04.com.emc:cx.ckm00121000438.b7 tcp: [32] 10.35.160.105:3260,2 iqn.1992-04.com.emc:cx.ckm00121000438.a7 tcp: [34] 10.35.160.106:3260,3 iqn.1992-04.com.emc:cx.ckm00121000438.b6 (see device file) The ui reports host as being connected to all iqn's, now, when attempting this flow again, the result we get is a constant iqn status which doesn't change(even when not having any domains up) Version-Release number of selected component (if applicable): vt10 How reproducible: 100% Steps to Reproduce: 1.create iSCSi domain 2.detach it Actual results: upon detach, host is connected to ( $NUM_OF_SESSIONS -1 ) iqn's, iqn sessions number don't change after this operation Expected results: detaching an iSCSi domain shouldn't prompt any iqn login, in our case I expect to see no sessions after detach domain. Additional info: