Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DPB] After breakout mode apply failed, interface switch to admin state down #6631

Closed
Hedgehog-Guru opened this issue Feb 1, 2021 · 1 comment
Assignees

Comments

@Hedgehog-Guru
Copy link

Description
After breakout mode apply failed, interface switch to admin state down.

Steps to reproduce the issue
Apply configuration like in #6630 (this configuration example lead to breakout fail)
Configure PortChannel:

config portchannel add PortChannel0001

Configure VLAN;

config vlan add 100

Add interface to PortChannel:

config port mem add PortChannel0001 Ethernet32

Assing VLAN to PortChannel:

config vlan mem add 100 PortChannel0001

Try to breakout the interface in the Portchannel:

config int breakout Ethernet32 2x50G

Describe the results you received
Configuration failed and interface goes to down state:

show int status
      Interface            Lanes    Speed    MTU    FEC    Alias             Vlan    Oper    Admin             Type    Asym PFC
---------------  ---------------  -------  -----  -----  -------  ---------------  ------  -------  ---------------  ----------
... output omited...
     Ethernet32      32,33,34,35     100G   9100    N/A    etp9a  PortChannel0001    down     down  QSFP28 or later         N/A

Describe the results you expected
Fail of interface breakout should not turn off the interface.

Output of show version

SONiC Software Version: SONiC.dpb_qa_image.0-23134a64
Distribution: Debian 10.7
Kernel: 4.19.0-9-2-amd64
Build commit: 23134a64
Build date: Fri Jan 15 08:52:11 UTC 2021
Built by: vadymh@r-build-sonic03

Platform: x86_64-mlnx_msn3800-r0
HwSKU: ACS-MSN3800
ASIC: mellanox
ASIC Count: 1
Serial Number: MT1937X00565
Uptime: 15:06:47 up 37 min,  1 user,  load average: 1.94, 2.34, 1.93

Docker images:
REPOSITORY                    TAG                       IMAGE ID            SIZE
docker-syncd-mlnx             dpb_qa_image.0-23134a64   72cd4f0bad6c        540MB
docker-syncd-mlnx             latest                    72cd4f0bad6c        540MB
docker-sflow                  dpb_qa_image.0-23134a64   070e94ad45b1        465MB
docker-sflow                  latest                    070e94ad45b1        465MB
docker-snmp                   dpb_qa_image.0-23134a64   4513d9bbede9        436MB
docker-snmp                   latest                    4513d9bbede9        436MB
docker-dhcp-relay             dpb_qa_image.0-23134a64   e9f74defdbed        402MB
docker-dhcp-relay             latest                    e9f74defdbed        402MB
docker-teamd                  dpb_qa_image.0-23134a64   4432208a6469        463MB
docker-teamd                  latest                    4432208a6469        463MB
docker-nat                    dpb_qa_image.0-23134a64   b0f25765961f        466MB
docker-nat                    latest                    b0f25765961f        466MB
docker-router-advertiser      dpb_qa_image.0-23134a64   875949f0ef94        395MB
docker-router-advertiser      latest                    875949f0ef94        395MB
docker-platform-monitor       dpb_qa_image.0-23134a64   77567d9ce67c        683MB
docker-platform-monitor       latest                    77567d9ce67c        683MB
docker-lldp                   dpb_qa_image.0-23134a64   9bba135a3864        435MB
docker-lldp                   latest                    9bba135a3864        435MB
docker-database               dpb_qa_image.0-23134a64   ae8be589a33c        394MB
docker-database               latest                    ae8be589a33c        394MB
docker-sonic-mgmt-framework   dpb_qa_image.0-23134a64   9f7fe89d1421        608MB
docker-sonic-mgmt-framework   latest                    9f7fe89d1421        608MB
docker-orchagent              dpb_qa_image.0-23134a64   5928b24d51e3        481MB
docker-orchagent              latest                    5928b24d51e3        481MB
docker-macsec                 dpb_qa_image.0-23134a64   b255f6b0ccf1        466MB
docker-macsec                 latest                    b255f6b0ccf1        466MB
docker-sonic-telemetry        dpb_qa_image.0-23134a64   4e502f1867fd        469MB
docker-sonic-telemetry        latest                    4e502f1867fd        469MB
docker-fpm-frr                dpb_qa_image.0-23134a64   684115a1f6cc        480MB
docker-fpm-frr                latest                    684115a1f6cc        480MB

sonic_dump_r-qa-sw-eth-2322_20210201_150722.tar.gz

@praveen-li
Copy link
Collaborator

sonic-net/sonic-utilities#1303 Solves this. Let me try to expedite the review.

lguohan pushed a commit to sonic-net/sonic-utilities that referenced this issue May 12, 2021
Changes:
-- Shutdown the interfaces after config validation while Dy Port Breakout.
-- Validate del ports before calling breakOutPorts API.

Signed-off-by: Praveen Chaudhary [email protected]

Fixes sonic-net/sonic-buildimage#6646, sonic-net/sonic-buildimage#6631,

Signed-off-by: Praveen Chaudhary [email protected]
gitsabari pushed a commit to gitsabari/sonic-utilities that referenced this issue Jun 15, 2021
Changes:
-- Shutdown the interfaces after config validation while Dy Port Breakout.
-- Validate del ports before calling breakOutPorts API.

Signed-off-by: Praveen Chaudhary [email protected]

Fixes sonic-net/sonic-buildimage#6646, sonic-net/sonic-buildimage#6631,

Signed-off-by: Praveen Chaudhary [email protected]
malletvapid23 added a commit to malletvapid23/Sonic-Utility that referenced this issue Aug 3, 2023
Changes:
-- Shutdown the interfaces after config validation while Dy Port Breakout.
-- Validate del ports before calling breakOutPorts API.

Signed-off-by: Praveen Chaudhary [email protected]

Fixes sonic-net/sonic-buildimage#6646, sonic-net/sonic-buildimage#6631,

Signed-off-by: Praveen Chaudhary [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants