sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
737 stars 1.42k forks source link

[DPB] BREAKOUT_CFG table is NOT present in CONFIG DB #10186

Open prgeor opened 2 years ago

prgeor commented 2 years ago

Description

DPB fails while configuring 4x100G breakout on Dell Z9332F on latest public master image.

Steps to reproduce the issue:

  1. Load the platform.json and hwsk.json on Dell Z9332F. json files are attached.
  2. config reload -f -y
  3. config interface breakout Ethernet0 "4x100G"

Describe the results you received:

root@str2-z9332f-02:~# config interface breakout Ethernet0 "4x100G"
Do you want to Breakout the port, continue? [y/N]: y
[ERROR] BREAKOUT_CFG table is NOT present in CONFIG DB
Aborted!
root@str2-z9332f-02:~#

Describe the results you expected:

DPB should not fail

Output of show version:

root@str2-z9332f-02:~# show ver

SONiC Software Version: SONiC.master.78657-78e867a79
Distribution: Debian 11.2
Kernel: 5.10.0-8-2-amd64
Build commit: 78e867a79
Build date: Mon Mar  7 16:34:29 UTC 2022
Built by: AzDevOps@sonic-build-workers-0018L2

Platform: x86_64-dellemc_z9332f_d1508-r0
HwSKU: DellEMC-Z9332f-O32
ASIC: broadcom
ASIC Count: 1
Serial Number: 8ZHXCW2
Model Number: 04CN21
Hardware Revision: A00
Uptime: 17:06:11 up  1:12,  2 users,  load average: 1.57, 1.00, 1.01

Docker images:
REPOSITORY                        TAG                      IMAGE ID       SIZE
docker-dhcp-relay-dbg             latest                   35cfe62ef344   555MB
docker-sonic-telemetry-dbg        latest                   467e87c1145b   632MB
docker-sonic-telemetry-dbg        master.78657-78e867a79   467e87c1145b   632MB
docker-sonic-telemetry            latest                   467e87c1145b   632MB
docker-sonic-telemetry            master.78657-78e867a79   467e87c1145b   632MB
docker-database-dbg               latest                   6165e85ca0ef   543MB
docker-database-dbg               master.78657-78e867a79   6165e85ca0ef   543MB
docker-database                   latest                   6165e85ca0ef   543MB
docker-database                   master.78657-78e867a79   6165e85ca0ef   543MB
docker-sflow-dbg                  latest                   1d8391a78a81   501MB
docker-sflow-dbg                  master.78657-78e867a79   1d8391a78a81   501MB
docker-sflow                      latest                   1d8391a78a81   501MB
docker-sflow                      master.78657-78e867a79   1d8391a78a81   501MB
docker-nat-dbg                    latest                   2ac20b821b76   594MB
docker-nat-dbg                    master.78657-78e867a79   2ac20b821b76   594MB
docker-nat                        latest                   2ac20b821b76   594MB
docker-nat                        master.78657-78e867a79   2ac20b821b76   594MB
docker-orchagent                  latest                   42b6afcb0a67   619MB
docker-orchagent                  master.78657-78e867a79   42b6afcb0a67   619MB
docker-orchagent-dbg              latest                   42b6afcb0a67   619MB
docker-orchagent-dbg              master.78657-78e867a79   42b6afcb0a67   619MB
docker-teamd                      latest                   8e560fc10370   591MB
docker-teamd                      master.78657-78e867a79   8e560fc10370   591MB
docker-teamd-dbg                  latest                   8e560fc10370   591MB
docker-teamd-dbg                  master.78657-78e867a79   8e560fc10370   591MB
docker-fpm-frr-dbg                latest                   41271618760f   627MB
docker-fpm-frr-dbg                master.78657-78e867a79   41271618760f   627MB
docker-fpm-frr                    latest                   41271618760f   627MB
docker-fpm-frr                    master.78657-78e867a79   41271618760f   627MB
docker-macsec-dbg                 latest                   4bb01c66404a   598MB
docker-macsec-dbg                 master.78657-78e867a79   4bb01c66404a   598MB
docker-macsec                     latest                   4bb01c66404a   598MB
docker-macsec                     master.78657-78e867a79   4bb01c66404a   598MB
docker-syncd-brcm-dbg             latest                   10a5505b1033   896MB
docker-syncd-brcm-dbg             master.78657-78e867a79   10a5505b1033   896MB
docker-syncd-brcm                 latest                   10a5505b1033   896MB
docker-syncd-brcm                 master.78657-78e867a79   10a5505b1033   896MB
docker-platform-monitor-dbg       latest                   7b05d5fc8e24   595MB
docker-platform-monitor-dbg       master.78657-78e867a79   7b05d5fc8e24   595MB
docker-platform-monitor           latest                   7b05d5fc8e24   595MB
docker-platform-monitor           master.78657-78e867a79   7b05d5fc8e24   595MB
docker-sonic-mgmt-framework-dbg   latest                   95eefb063fdb   641MB
docker-sonic-mgmt-framework-dbg   master.78657-78e867a79   95eefb063fdb   641MB
docker-sonic-mgmt-framework       latest                   95eefb063fdb   641MB
docker-sonic-mgmt-framework       master.78657-78e867a79   95eefb063fdb   641MB
docker-snmp-dbg                   latest                   9a7ec61b9da3   533MB
docker-snmp-dbg                   master.78657-78e867a79   9a7ec61b9da3   533MB
docker-snmp                       latest                   9a7ec61b9da3   533MB
docker-snmp                       master.78657-78e867a79   9a7ec61b9da3   533MB
docker-router-advertiser-dbg      latest                   c639bd8dd4af   485MB
docker-router-advertiser-dbg      master.78657-78e867a79   c639bd8dd4af   485MB
docker-router-advertiser          latest                   c639bd8dd4af   485MB
docker-router-advertiser          master.78657-78e867a79   c639bd8dd4af   485MB
docker-mux-dbg                    latest                   a7f23bcc0615   538MB
docker-mux-dbg                    master.78657-78e867a79   a7f23bcc0615   538MB
docker-mux                        latest                   a7f23bcc0615   538MB
docker-mux                        master.78657-78e867a79   a7f23bcc0615   538MB
docker-lldp-dbg                   latest                   da9b902e6d60   526MB
docker-lldp-dbg                   master.78657-78e867a79   da9b902e6d60   526MB
docker-lldp                       latest                   da9b902e6d60   526MB
docker-lldp                       master.78657-78e867a79   da9b902e6d60   526MB
docker-gbsyncd-credo-dbg          latest                   17b0f35a6c23   502MB
docker-gbsyncd-credo-dbg          master.78657-78e867a79   17b0f35a6c23   502MB
docker-gbsyncd-credo              latest                   17b0f35a6c23   502MB
docker-gbsyncd-credo              master.78657-78e867a79   17b0f35a6c23   502MB

root@str2-z9332f-02:~#

Additional information you deem important (e.g. issue happens only occasionally):

Tried reboot 3 times but DPB fails

root@str2-z9332f-02:~# show interfaces breakout
{
    "Ethernet0": {
        "index": "1,1,1,1,1,1,1,1",
        "lanes": "33,34,35,36,37,38,39,40",
        "breakout_modes": {
            "1x400G": [
                "etp1"
            ],
            "2x200G[100G,40G]": [
                "etp1a",
                "etp1b"
            ],
            "4x100G[50G]": [
                "etp1a",
                "etp1b",
                "etp1c",
                "etp1d"
            ],
            "1x100G(4)": [
               "etp1"
            ]
        }
    },

. . .
. . .
. . . 
}
prgeor commented 2 years ago

platform.zip

prgeor commented 2 years ago

++ @zhangyanzhao @praveen-li

prsunny commented 2 years ago

[Issue Triage] @prgeor, is this a platform specific (Dell) issue?

prgeor commented 2 years ago

@prsunny not Dell specific.