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 1468183 - [RHEL-7.4][fcoe VN2VN] cannot disable the vn2vn fcoe by 'echo 0>/sys/bus/fcoe/ctlr_1/enabled'
Summary: [RHEL-7.4][fcoe VN2VN] cannot disable the vn2vn fcoe by 'echo 0>/sys/bus/fcoe...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: fcoe-utils
Version: 7.5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Leech
QA Contact: guazhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-06 08:43 UTC by xhe@redhat.com
Modified: 2021-09-03 13:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-15 07:39:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description xhe@redhat.com 2017-07-06 08:43:53 UTC
Description of problem:
[RHEL-7.4][fcoe VN2VN] cannot disable the vn2vn fcoe by 'echo 0>/sys/bus/fcoe/ctlr_1/enabled'

Version-Release number of selected component (if applicable):
3.10.0-690.el7.x86_64
fcoe-utils-1.0.32-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. load the fcoe driver ixgbe, and bring up the interface ens2f0
   # modprobe ixgbe
   # ifconfig ens2f0 up
   # service fcoe start
2. create vn2vn fcoe by sysbus
   # echo ens2f0 > /sys/bus/fcoe/ctlr_create
3. set vn2vn mode and enable fcoe
   # echo vn2vn>/sys/bus/fcoe/devices/ctlr_1/mode 
   # echo 1>/sys/bus/fcoe/devices/ctlr_1/enabled 
   # fcoeadm -i
4. disable fcoe 
   # echo 0>/sys/bus/fcoe/devices/ctlr_1/enabled 

Actual results:
   # echo 0>/sys/bus/fcoe/devices/ctlr_1/enabled 
   # fcoeadm -i ens2f0
    Description:      82599ES 10-Gigabit SFI/SFP+ Network Connection
    Revision:         01
    Manufacturer:     Intel Corporation
    Serial Number:    90E2BA5661D8

    Driver:           ixgbe 4.4.0-k-rh7.4
    Number of Ports:  1

        Symbolic Name:     fcoe v0.1 over ens2f0
        OS Device Name:    host3
        Node Name:         0x100090e2ba5661da
        Port Name:         0x200090e2ba5661da
        Fabric Name:        0x0
        Speed:             10 Gbit
        Supported Speed:   1 Gbit, 10 Gbit
        MaxFrameSize:      2112 bytes
        FC-ID (Port ID):   0x0061da
        State:             Online   <---It's still Online


Expected results:
   # echo 0>/sys/bus/fcoe/devices/ctlr_1/enabled 
   # fcoeadm -i ens2f0
    Description:      82599ES 10-Gigabit SFI/SFP+ Network Connection
    Revision:         01
    Manufacturer:     Intel Corporation
    Serial Number:    90E2BA5661D8

    Driver:           ixgbe 4.4.0-k-rh7.4
    Number of Ports:  1

        Symbolic Name:     fcoe v0.1 over ens2f0
        OS Device Name:    host3
        Node Name:         0x100090e2ba5661da
        Port Name:         0x200090e2ba5661da
        Fabric Name:        0x0
        Speed:             10 Gbit
        Supported Speed:   1 Gbit, 10 Gbit
        MaxFrameSize:      2112 bytes
        FC-ID (Port ID):   0x0061da
        State:             Offline          


Additional info:

Comment 1 xhe@redhat.com 2017-07-06 09:03:34 UTC
Disabling the fcoe instance works at first time when I "echo 0>..." and you will see State: Offline. However after first time, it is not be able to Disabled when you use "echo 0>...". 

 # echo ens2f0>/sys/bus/fcoe/ctlr_create
 # echo vn2vn>/sys/bus/fcoe/devices/ctlr_1/mode
 # echo 1>/sys/bus/fcoe/devices/ctlr_1/enabled 
 # echo 0>/sys/bus/fcoe/devices/ctlr_1/enabled --> works at first time 
 # echo 1>/sys/bus/fcoe/devices/ctlr_1/enabled 
 # echo 0>/sys/bus/fcoe/devices/ctlr_1/enabled --> won't work
 # echo 0>/sys/bus/fcoe/devices/ctlr_1/enabled --> won't work
 # echo 0>/sys/bus/fcoe/devices/ctlr_1/enabled --> won't work
  ...

-Xiaonan

Comment 3 RHEL Program Management 2021-01-15 07:39:19 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.