Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1054829

Summary: anaconda connects to more iSCSI sessions then on regular iSCSI boot
Product: Red Hat Enterprise Linux 7 Reporter: Bruno Goncalves <bgoncalv>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED WONTFIX QA Contact: Bruno Goncalves <bgoncalv>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: bgoncalv, rvykydal
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:29:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anaconda.log
none
storage.log
none
boot log
none
syslog none

Description Bruno Goncalves 2014-01-17 14:51:36 UTC
Description of problem:
Installing RHEL-7 on a iSCSI boot server with 2 iSCSI ports, anaconda establishes 4 sessions while on regular boot only 2 sessions are established.

I just want to know if this is right or how many sessions we should expect.

Version-Release number of selected component (if applicable):
anaconda-19.31.48-1
iscsi-initiator-utils-6.2.0.873-17.el7

Comment 1 Bruno Goncalves 2014-01-17 14:52:11 UTC
Anaconda settings:
[anaconda root@localhost ~]# iscsiadm -m fw
    # BEGIN RECORD 6.2.0.873-14
    iface.initiatorname = iqn.1994-05.com.redhat:be2iscsi-storageqe-02
    iface.transport_name = be2iscsi
    iface.hwaddress = 00:00:c9:a0:e9:09
    iface.bootproto = STATIC
    node.name = iqn.1992-08.com.netapp:sn.151753773
    node.conn[0].address = 10.16.41.222
    node.conn[0].port = 3260
    # END RECORD
    # BEGIN RECORD 6.2.0.873-14
    iface.initiatorname = iqn.1994-05.com.redhat:be2iscsi-storageqe-02
    iface.transport_name = be2iscsi
    iface.hwaddress = 00:00:c9:a0:e9:0b
    iface.bootproto = STATIC
    node.name = iqn.1992-08.com.netapp:sn.151753773
    node.conn[0].address = 10.16.43.127
    node.conn[0].port = 3260
    # END RECORD
     
[anaconda root@localhost ~]# iscsiadm -m session -P1
    Target: iqn.1992-08.com.netapp:sn.151753773
            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: 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: 3
                    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: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: 2
                    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: 4
                    iSCSI Connection State: LOGGED IN
                    iSCSI Session State: LOGGED_IN
                    Internal iscsid Session State: NO CHANGE
[anaconda root@localhost ~]#


----------

Regular session

# iscsiadm -m fw
# BEGIN RECORD 6.2.0.873-14
iface.initiatorname = iqn.1994-05.com.redhat:be2iscsi-storageqe-02
iface.transport_name = be2iscsi
iface.hwaddress = 00:00:c9:a0:e9:09
iface.bootproto = STATIC
node.name = iqn.1992-08.com.netapp:sn.151753773
node.conn[0].address = 10.16.41.222
node.conn[0].port = 3260
# END RECORD
# BEGIN RECORD 6.2.0.873-14
iface.initiatorname = iqn.1994-05.com.redhat:be2iscsi-storageqe-02
iface.transport_name = be2iscsi
iface.hwaddress = 00:00:c9:a0:e9:0b
iface.bootproto = STATIC
node.name = iqn.1992-08.com.netapp:sn.151753773
node.conn[0].address = 10.16.43.127
node.conn[0].port = 3260
# END RECORD

# iscsiadm -m session -P1
Target: iqn.1992-08.com.netapp:sn.151753773
    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 2 Bruno Goncalves 2014-01-17 14:55:14 UTC
Created attachment 851651 [details]
anaconda.log

Comment 3 Bruno Goncalves 2014-01-17 14:55:41 UTC
Created attachment 851652 [details]
storage.log

Comment 4 Bruno Goncalves 2014-01-17 14:56:04 UTC
Created attachment 851653 [details]
boot log

Comment 5 Bruno Goncalves 2014-01-17 14:56:45 UTC
Created attachment 851655 [details]
syslog

Comment 7 Dave Cantrell 2014-01-17 21:34:45 UTC
(In reply to Bruno Goncalves from comment #0)
> Installing RHEL-7 on a iSCSI boot server with 2 iSCSI ports, anaconda
> establishes 4 sessions while on regular boot only 2 sessions are established.
> 
> I just want to know if this is right or how many sessions we should expect.

Unless this is blocking installation on the system in question, this is not a bug.

Comment 8 RHEL Program Management 2014-01-17 21:36:40 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 9 Radek Vykydal 2014-01-20 09:00:15 UTC
It was my who asked Bruno to file the bug when he consulted the issue with me. I wasn't planning to work on it until we see any problems with installation caused by it. Anyway, the bz being closed, for me it is still useful to have it filed for the reference.

Comment 10 Dave Cantrell 2014-01-20 15:41:16 UTC
I'll reopen it, but move it to the 7.1 list.  This bug ended up in the 7.0 backlog report which is why I closed it.  Apologies.

Comment 12 Radek Vykydal 2015-01-23 09:18:55 UTC
Bruno, could you check if this is still an issue with latest RHEL 7.1 composes and if so, attach usual log files? We have added some more debug logging in 7.1 that can be helpful. Thank you.

Comment 13 Bruno Goncalves 2015-01-23 10:24:21 UTC
It is still the same, note that both ports connect to both portals. This is probably intended and it wouldn't be a bug.

The problem might be on regular boot where it only connects to 2 sessions.


[anaconda root@localhost ~]# 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: 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: 3
                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: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: 2
                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: 4
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE

 ---------------------------------
# iscsiadm -m fw
# BEGIN RECORD 6.2.0.873-28
iface.initiatorname = iqn.1994-05.com.redhat:be2iscsi-storageqe-02
iface.transport_name = be2iscsi
iface.hwaddress = 00:00:c9:a0:e9:09
iface.bootproto = STATIC
node.conn[0].address = 10.16.41.222
node.conn[0].port = 3260
# END RECORD
# BEGIN RECORD 6.2.0.873-28
iface.initiatorname = iqn.1994-05.com.redhat:be2iscsi-storageqe-02
iface.transport_name = be2iscsi
iface.hwaddress = 00:00:c9:a0:e9:0b
iface.bootproto = STATIC
node.name = iqn.1992-08.com.netapp:sn.151753773
node.conn[0].address = 10.16.43.127
node.conn[0].port = 3260
# END RECORD

Comment 16 RHEL Program Management 2020-12-15 07:29:23 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.