RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1096133 - iSCSI: iscsi sessions are not restored after reboot (TOE cards)
Summary: iSCSI: iscsi sessions are not restored after reboot (TOE cards)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iscsi-initiator-utils
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Leech
QA Contact: Filip Suba
URL:
Whiteboard:
Depends On:
Blocks: 1302985
TreeView+ depends on / blocked
 
Reported: 2014-05-09 09:26 UTC by Bruno Goncalves
Modified: 2023-03-08 07:26 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1302985 (view as bug list)
Environment:
Last Closed: 2020-12-15 07:30:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
dmesg.log (77.84 KB, text/plain)
2014-05-09 09:27 UTC, Bruno Goncalves
no flags Details

Description Bruno Goncalves 2014-05-09 09:26:19 UTC
Description of problem:
After establishing an iSCSI session and rebooting the server, the iSCSI session is not restored.
It seems to impact only TOE cards, using iscsi_tcp works.

Version-Release number of selected component (if applicable):
iscsi-initiator-utils-6.2.0.873-21.el7.x86_64
3.10.0-123.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. configure TOE card
iscsiadm -m iface -I bnx2i.ac:16:2d:85:64:b9 -o update -n iface.ipaddress -v 0.0.0.0
bnx2i.ac:16:2d:85:64:b9 updated.
iscsiadm -m iface -I bnx2i.ac:16:2d:85:64:bd -o update -n iface.ipaddress -v 0.0.0.0
bnx2i.ac:16:2d:85:64:bd updated.


2.Discover iSCSI target
iscsiadm -m discovery -I bnx2i.ac:16:2d:85:64:b9 -I bnx2i.ac:16:2d:85:64:bd -p dell-equallogic-ps5000xv.lab.eng.brq.redhat.com -t st
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.34.74.108 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.34.74.108 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.34.74.108 failed: internal error
iscsiadm: Could not set host net params (err 29)

iscsiadm: Connection to discovery portal 10.34.74.108 failed: internal error
10.34.74.109:3260,1 iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot
10.34.74.109:3260,1 iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot


3. Login to target
iscsiadm -m node -l
Logging in to [iface: bnx2i.ac:16:2d:85:64:b9, target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot, portal: 10.34.74.109,3260] (multiple)
Logging in to [iface: bnx2i.ac:16:2d:85:64:bd, target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot, portal: 10.34.74.109,3260] (multiple)
Login to [iface: bnx2i.ac:16:2d:85:64:b9, target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot, portal: 10.34.74.109,3260] successful.
Login to [iface: bnx2i.ac:16:2d:85:64:bd, target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot, portal: 10.34.74.109,3260] successful.


iscsiadm -m session -P1
Target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot (non-flash)
    Current Portal: 10.34.74.108:48140,1
    Persistent Portal: 10.34.74.109:3260,1
        **********
        Interface:
        **********
        Iface Name: bnx2i.ac:16:2d:85:64:b9
        Iface Transport: bnx2i
        Iface Initiatorname: iqn.1994-05.com.redhat:os-reboot
        Iface IPaddress: 10.34.37.136
        Iface HWaddress: ac:16:2d:85:64:b9
        Iface Netdev: ens1f0
        SID: 3
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE

        **********
        Interface:
        **********
        Iface Name: bnx2i.ac:16:2d:85:64:bd
        Iface Transport: bnx2i
        Iface Initiatorname: iqn.1994-05.com.redhat:os-reboot
        Iface IPaddress: 10.34.33.166
        Iface HWaddress: ac:16:2d:85:64:bd
        Iface Netdev: ens1f1
        SID: 4
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE


5. reboot server
reboot

6. check for iSCSI sessions
iscsiadm -m session
iscsiadm: No active sessions.


Additional info:


#manual login works
# iscsiadm -m node -l
Logging in to [iface: bnx2i.ac:16:2d:85:64:b9, target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot, portal: 10.34.74.109,3260] (multiple)
Logging in to [iface: bnx2i.ac:16:2d:85:64:bd, target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot, portal: 10.34.74.109,3260] (multiple)
Login to [iface: bnx2i.ac:16:2d:85:64:b9, target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot, portal: 10.34.74.109,3260] successful.
Login to [iface: bnx2i.ac:16:2d:85:64:bd, target: iqn.2001-05.com.equallogic:0-af1ff6-80e5d9bd9-c25a2651d6a535e8-os-reboot, portal: 10.34.74.109,3260] successful.

Comment 1 Bruno Goncalves 2014-05-09 09:27:38 UTC
Created attachment 893891 [details]
dmesg.log

Comment 3 Bruno Goncalves 2014-05-12 07:02:31 UTC
Also reproduced with be2iscsi (iSCSI boot) server.

iscsiadm -m session -P1
Target: iqn.1992-08.com.netapp:sn.151753773 (non-flash)
    Current Portal: 10.16.41.222:3260,1
    Persistent Portal: 10.16.41.222:3260,1
        **********
        Interface:
        **********
        Iface Name: be2iscsi.00:00:c9:a0:e9:09
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:be2iscsi-storageqe-02
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:09
        Iface Netdev: <empty>
        SID: 1
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE

        **********
        Interface:
        **********
        Iface Name: clone_of_be2iscsi.00:00:c9:a0:e9:09
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:os-reboot
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:09
        Iface Netdev: <empty>
        SID: 9
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE

        **********
        Interface:
        **********
        Iface Name: be2iscsi.00:00:c9:a0:e9:0b
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:be2iscsi-storageqe-02
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:0b
        Iface Netdev: <empty>
        SID: 8
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE

        **********
        Interface:
        **********
        Iface Name: clone_of_be2iscsi.00:00:c9:a0:e9:0b
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:os-reboot
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:0b
        Iface Netdev: <empty>
        SID: 10
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE
    Current Portal: 10.16.43.127:3260,1
    Persistent Portal: 10.16.43.127:3260,1
        **********
        Interface:
        **********
        Iface Name: be2iscsi.00:00:c9:a0:e9:0b
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:be2iscsi-storageqe-02
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:0b
        Iface Netdev: <empty>
        SID: 2
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE

        **********
        Interface:
        **********
        Iface Name: clone_of_be2iscsi.00:00:c9:a0:e9:0b
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:os-reboot
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:0b
        Iface Netdev: <empty>
        SID: 7
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE

        **********
        Interface:
        **********
        Iface Name: clone_of_be2iscsi.00:00:c9:a0:e9:09
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:os-reboot
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:09
        Iface Netdev: <empty>
        SID: 6
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE

        **********
        Interface:
        **********
        Iface Name: be2iscsi.00:00:c9:a0:e9:09
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:be2iscsi-storageqe-02
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:09
        Iface Netdev: <empty>
        SID: 5
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE


reboot 

iscsiadm -m session -P1
Target: iqn.1992-08.com.netapp:sn.151753773 (non-flash)
    Current Portal: 10.16.41.222:3260,1
    Persistent Portal: 10.16.41.222:3260,1
        **********
        Interface:
        **********
        Iface Name: be2iscsi.00:00:c9:a0:e9:09
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:be2iscsi-storageqe-02
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:09
        Iface Netdev: <empty>
        SID: 1
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE
    Current Portal: 10.16.43.127:3260,1
    Persistent Portal: 10.16.43.127:3260,1
        **********
        Interface:
        **********
        Iface Name: be2iscsi.00:00:c9:a0:e9:0b
        Iface Transport: be2iscsi
        Iface Initiatorname: iqn.1994-05.com.redhat:be2iscsi-storageqe-02
        Iface IPaddress: <empty>
        Iface HWaddress: 00:00:c9:a0:e9:0b
        Iface Netdev: <empty>
        SID: 2
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE

Comment 4 Bruno Goncalves 2014-11-14 09:29:27 UTC
Still reproducible:
kernel 3.10.0-201.el7 
iscsi-initiator-utils-6.2.0.873-23.el7

iscsiadm -m session -P1
Target: iqn.2008-09.com.example:storageqe-10.target1 (non-flash)
	Current Portal: 172.17.10.1:3260,1
	Persistent Portal: 172.17.10.1:3260,1
		**********
		Interface:
		**********
		Iface Name: be2iscsi.00:00:c9:e6:87:87.ipv4.0
		Iface Transport: be2iscsi
		Iface Initiatorname: iqn.1994-05.com.redhat:storageqe-15
		Iface IPaddress: <empty>
		Iface HWaddress: 00:00:c9:e6:87:87
		Iface Netdev: <empty>
		SID: 3
		iSCSI Connection State: LOGGED IN
		iSCSI Session State: LOGGED_IN
		Internal iscsid Session State: NO CHANGE

		**********
		Interface:
		**********
		Iface Name: be2iscsi.00:00:c9:e6:87:8b.ipv4.0
		Iface Transport: be2iscsi
		Iface Initiatorname: iqn.1994-05.com.redhat:storageqe-15
		Iface IPaddress: <empty>
		Iface HWaddress: 00:00:c9:e6:87:8b
		Iface Netdev: <empty>
		SID: 4
		iSCSI Connection State: LOGGED IN
		iSCSI Session State: LOGGED_IN
		Internal iscsid Session State: NO CHANGE

after reboot there is no session

Comment 6 Martin Hoyer 2017-04-13 11:28:23 UTC
Intel X540 iscsi_tcp:
kernel-3.10.0-632.el7.x86_64
iscsi-initiator-utils-6.2.0.874-1.el7.x86_64

iscsiadm -m discovery -I x540_1 -I x540_2 -p dell-equallogic-ps5000xv.lab.eng.brq.redhat.com -t st
iscsiadm: connect to 10.34.80.10 timed out
10.34.80.11:3260,1 iqn.2001-05.com.equallogic:0-af1ff6-bbe5d9bd9-7c67097399453f20-storageqe-82-io
10.34.80.11:3260,1 iqn.2001-05.com.equallogic:0-af1ff6-bbe5d9bd9-7c67097399453f20-storageqe-82-io

iscsiadm -m node -l 
Logging in to [iface: x540_1, target: iqn.2001-05.com.equallogic:0-af1ff6-bbe5d9bd9-7c67097399453f20-storageqe-82-io, portal: 10.34.80.11,3260] (multiple)
Logging in to [iface: x540_2, target: iqn.2001-05.com.equallogic:0-af1ff6-bbe5d9bd9-7c67097399453f20-storageqe-82-io, portal: 10.34.80.11,3260] (multiple)
Login to [iface: x540_1, target: iqn.2001-05.com.equallogic:0-af1ff6-bbe5d9bd9-7c67097399453f20-storageqe-82-io, portal: 10.34.80.11,3260] successful.
Login to [iface: x540_2, target: iqn.2001-05.com.equallogic:0-af1ff6-bbe5d9bd9-7c67097399453f20-storageqe-82-io, portal: 10.34.80.11,3260] successful.

iscsiadm -m session -P1
Target: iqn.2001-05.com.equallogic:0-af1ff6-bbe5d9bd9-7c67097399453f20-storageqe-82-io (non-flash)
	Current Portal: 10.34.80.10:3260,1
	Persistent Portal: 10.34.80.11:3260,1
		**********
		Interface:
		**********
		Iface Name: x540_1
		Iface Transport: tcp
		Iface Initiatorname: iqn.1994-05.com.redhat:storageqe-82-boot
		Iface IPaddress: 10.34.80.222
		Iface HWaddress: a0:36:9f:2d:4d:28
		Iface Netdev: <empty>
		SID: 1
		iSCSI Connection State: LOGGED IN
		iSCSI Session State: LOGGED_IN
		Internal iscsid Session State: NO CHANGE

		**********
		Interface:
		**********
		Iface Name: x540_2
		Iface Transport: tcp
		Iface Initiatorname: iqn.1994-05.com.redhat:storageqe-82-boot
		Iface IPaddress: 10.34.80.208
		Iface HWaddress: a0:36:9f:2d:4d:2a
		Iface Netdev: <empty>
		SID: 2
		iSCSI Connection State: LOGGED IN
		iSCSI Session State: LOGGED_IN
		Internal iscsid Session State: NO CHANGE

No session after reboot.

Comment 7 Martin Hoyer 2017-05-29 12:48:27 UTC
Reproducible with cxgb4i driver.

Comment 10 RHEL Program Management 2020-12-15 07:30:27 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.