breaking port show error I am not familiar with

79 views
Skip to first unread message

Johnny Wong

unread,
Nov 21, 2021, 9:31:28 PM11/21/21
to sonicproject
admin@dx010:~$ sudo config interface breakout Ethernet112 2x50G
Do you want to Breakout the port, continue? [y/N]: y

Running Breakout Mode : 1x100G[40G]
Target Breakout Mode : 2x50G

Ports to be deleted :
 {
    "Ethernet112": "100000"
}
Ports to be added :
 {
    "Ethernet112": "50000",
    "Ethernet114": "50000"
}

After running Logic to limit the impact

Final list of ports to be deleted :
 {
    "Ethernet112": "100000"
}
Final list of ports to be added :
 {
    "Ethernet112": "50000",
    "Ethernet114": "50000"
}
Note: Below table(s) have no YANG models:
FEATURE, KDUMP, SNMP, SNMP_COMMUNITY, XCVRD_LOG,
Below Config can not be verified, It may cause harm to the system
 {}
Do you wish to Continue? [y/N]: y
Create Config to load in DB, Failed
'str' object has no attribute 'append'
Config Diff Generation failed
'str' object has no attribute 'append'
'str' object has no attribute 'append'
Port Deletion Failed
[ERROR] Port breakout Failed!!! Opting Out
Failed to break out Port. Error:

admin@dx010:~$ show version

SONiC Software Version: SONiC.202106.49264-99724508f
Distribution: Debian 10.11
Kernel: 4.19.0-12-2-amd64
Build commit: 99724508f
Build date: Sun Nov  7 15:12:28 UTC 2021
Built by: AzDevOps@sonic-build-workers-000VAU

Platform: x86_64-cel_seastone-r0
HwSKU: Seastone-DX010
ASIC: broadcom
ASIC Count: 1
Serial Number: DX010B2F108423LK100045
Model Number: R0872-F0010-01
Hardware Revision: N/A
Uptime: 02:31:38 up 1 day,  6:27,  1 user,  load average: 1.11, 1.24, 1.13

Docker images:
REPOSITORY                    TAG                      IMAGE ID            SIZE
docker-dhcp-relay             latest                   ab609e683abf        428MB
docker-platform-monitor       202106.49264-99724508f   7108091918e8        636MB
docker-platform-monitor       latest                   7108091918e8        636MB
docker-snmp                   202106.49264-99724508f   e43b3b947184        462MB
docker-snmp                   latest                   e43b3b947184        462MB
docker-sflow                  202106.49264-99724508f   bac81057b59f        433MB
docker-sflow                  latest                   bac81057b59f        433MB
docker-sonic-mgmt-framework   202106.49264-99724508f   5ce9012702c2        576MB
docker-sonic-mgmt-framework   latest                   5ce9012702c2        576MB
docker-teamd                  202106.49264-99724508f   3d96015f63dc        432MB
docker-teamd                  latest                   3d96015f63dc        432MB
docker-nat                    202106.49264-99724508f   7ffb8bd53cd5        435MB
docker-nat                    latest                   7ffb8bd53cd5        435MB
docker-lldp                   202106.49264-99724508f   59c0aedc0bef        461MB
docker-lldp                   latest                   59c0aedc0bef        461MB
docker-router-advertiser      202106.49264-99724508f   d116181da85d        421MB
docker-router-advertiser      latest                   d116181da85d        421MB
docker-database               202106.49264-99724508f   dea82758e2dd        421MB
docker-database               latest                   dea82758e2dd        421MB
docker-macsec                 202106.49264-99724508f   64357e1d3aaf        436MB
docker-macsec                 latest                   64357e1d3aaf        436MB
docker-orchagent              202106.49264-99724508f   0db162ccd171        451MB
docker-orchagent              latest                   0db162ccd171        451MB
docker-sonic-telemetry        202106.49264-99724508f   4acf661f407c        509MB
docker-sonic-telemetry        latest                   4acf661f407c        509MB
docker-fpm-frr                202106.49264-99724508f   ee5d0df96288        451MB
docker-fpm-frr                latest                   ee5d0df96288        451MB
docker-syncd-brcm             202106.49264-99724508f   2cf1d33f995f        717MB
docker-syncd-brcm             latest                   2cf1d33f995f        717MB



Johnny Wong

unread,
Dec 10, 2021, 10:44:49 AM12/10/21
to sonicproject
Still having the same issue anyone can help??

admin@dx010:~$ show version

SONiC Software Version: SONiC.202106.57766-e2b8e2d1d

Distribution: Debian 10.11
Kernel: 4.19.0-12-2-amd64
Build commit: e2b8e2d1d
Build date: Wed Dec  8 17:11:08 UTC 2021
Built by: AzDevOps@sonic-build-workers-000YSN


Platform: x86_64-cel_seastone-r0
HwSKU: Seastone-DX010
ASIC: broadcom
ASIC Count: 1
Serial Number: DX010B2F108423LK100045
Model Number: R0872-F0010-01
Hardware Revision: N/A
Uptime: 15:46:10 up 24 min,  1 user,  load average: 1.33, 1.13, 0.90


Docker images:
REPOSITORY                    TAG                      IMAGE ID            SIZE
docker-dhcp-relay             latest                   96fe9f328ca6        428MB
docker-platform-monitor       202106.57766-e2b8e2d1d   46b2c81ae323        636MB
docker-platform-monitor       latest                   46b2c81ae323        636MB
docker-snmp                   202106.57766-e2b8e2d1d   1c6c64d06bb5        462MB
docker-snmp                   latest                   1c6c64d06bb5        462MB
docker-orchagent              202106.57766-e2b8e2d1d   647b930886d5        451MB
docker-orchagent              latest                   647b930886d5        451MB
docker-fpm-frr                202106.57766-e2b8e2d1d   4eaf5f04fe20        451MB
docker-fpm-frr                latest                   4eaf5f04fe20        451MB
docker-nat                    202106.57766-e2b8e2d1d   4d7952ffc394        435MB
docker-nat                    latest                   4d7952ffc394        435MB
docker-sflow                  202106.57766-e2b8e2d1d   4adc78f7d1d9        433MB
docker-sflow                  latest                   4adc78f7d1d9        433MB
docker-macsec                 202106.57766-e2b8e2d1d   a8caf2d88d49        436MB
docker-macsec                 latest                   a8caf2d88d49        436MB
docker-syncd-brcm             202106.57766-e2b8e2d1d   40ffb870205e        717MB
docker-syncd-brcm             latest                   40ffb870205e        717MB
docker-sonic-mgmt-framework   202106.57766-e2b8e2d1d   4615dec8f36c        576MB
docker-sonic-mgmt-framework   latest                   4615dec8f36c        576MB
docker-teamd                  202106.57766-e2b8e2d1d   1544a4170ea9        432MB
docker-teamd                  latest                   1544a4170ea9        432MB
docker-router-advertiser      202106.57766-e2b8e2d1d   8c0c464e5db5        421MB
docker-router-advertiser      latest                   8c0c464e5db5        421MB
docker-lldp                   202106.57766-e2b8e2d1d   499f4a39da20        461MB
docker-lldp                   latest                   499f4a39da20        461MB
docker-sonic-telemetry        202106.57766-e2b8e2d1d   1bc7246fe59f        509MB
docker-sonic-telemetry        latest                   1bc7246fe59f        509MB
docker-database               202106.57766-e2b8e2d1d   e986c6f35b4c        421MB
docker-database               latest                   e986c6f35b4c        421MB

admin@dx010:~$ sudo config interface breakout Ethernet0 2x50G

Do you want to Breakout the port, continue? [y/N]: y

Running Breakout Mode : 1x100G[40G]
Target Breakout Mode : 2x50G

Ports to be deleted :
 {
    "Ethernet0": "100000"
}
Ports to be added :
 {
    "Ethernet0": "50000",
    "Ethernet2": "50000"

}

After running Logic to limit the impact

Final list of ports to be deleted :
 {
    "Ethernet0": "100000"

}
Final list of ports to be added :
 {
    "Ethernet0": "50000",
    "Ethernet2": "50000"

}
Note: Below table(s) have no YANG models:
FEATURE, KDUMP, SNMP, SNMP_COMMUNITY, XCVRD_LOG,
Below Config can not be verified, It may cause harm to the system
 {}
Do you wish to Continue? [y/N]: y
Create Config to load in DB, Failed
'str' object has no attribute 'append'
Config Diff Generation failed
'str' object has no attribute 'append'
'str' object has no attribute 'append'
Port Deletion Failed
[ERROR] Port breakout Failed!!! Opting Out
Failed to break out Port. Error:

Maksym Hryshanov

unread,
Jan 9, 2022, 7:23:09 AMJan 9
to sonicproject
Hello,
I had the same error,
I think there is a typo in sonic-utilities config/config_mgmt.py


You can try to fix it in
/usr/local/lib/python3.7/dist-packages/config/config_mgmt.py
пятница, 10 декабря 2021 г. в 17:44:49 UTC+2, rotar...@gmail.com:

Johnny Wong

unread,
Feb 27, 2022, 12:07:37 AMFeb 27
to sonicproject
Just upgraded to 
Build ID: 74993
Build number: 20220223.4
Branch: 202106

still getting breakout error on the Celestica DX010
config interface breakout Ethernet124 1x100G[40G]

Do you want to Breakout the port, continue? [y/N]: y

Running Breakout Mode : 4x25G[10G]
Target Breakout Mode : 1x100G[40G]

Ports to be deleted :
 {
    "Ethernet124": "25000",
    "Ethernet125": "25000",
    "Ethernet126": "25000",
    "Ethernet127": "25000"
}
Ports to be added :
 {
    "Ethernet124": "100000"

}

After running Logic to limit the impact

Final list of ports to be deleted :
 {
    "Ethernet124": "25000",
    "Ethernet125": "25000",
    "Ethernet126": "25000",
    "Ethernet127": "25000"

}
Final list of ports to be added :
 {
    "Ethernet124": "100000"

}
Note: Below table(s) have no YANG models:
FEATURE, KDUMP, SNMP, SNMP_COMMUNITY, STATIC_ROUTE, XCVRD_LOG,

Below Config can not be verified, It may cause harm to the system
 {}
Do you wish to Continue? [y/N]: y
Create Config to load in DB, Failed
'str' object has no attribute 'append'
Config Diff Generation failed
'str' object has no attribute 'append'
'str' object has no attribute 'append'
Port Deletion Failed
[ERROR] Port breakout Failed!!! Opting Out
Failed to break out Port. Error:

Johnny Wong

unread,
Feb 27, 2022, 12:09:28 AMFeb 27
to sonicproject
sudo config interface breakout Ethernet124 2x50G

Do you want to Breakout the port, continue? [y/N]: y

Running Breakout Mode : 4x25G[10G]
Target Breakout Mode : 2x50G

Ports to be deleted :
 {
    "Ethernet124": "25000",
    "Ethernet125": "25000",
    "Ethernet126": "25000",
    "Ethernet127": "25000"
}
Ports to be added :
 {
    "Ethernet124": "50000",
    "Ethernet126": "50000"

}

After running Logic to limit the impact

Final list of ports to be deleted :
 {
    "Ethernet124": "25000",
    "Ethernet125": "25000",
    "Ethernet126": "25000",
    "Ethernet127": "25000"
}
Final list of ports to be added :
 {
    "Ethernet124": "50000",
    "Ethernet126": "50000"

}
Note: Below table(s) have no YANG models:
FEATURE, KDUMP, SNMP, SNMP_COMMUNITY, STATIC_ROUTE, XCVRD_LOG,
Below Config can not be verified, It may cause harm to the system
 {}
Do you wish to Continue? [y/N]: y
Create Config to load in DB, Failed
'str' object has no attribute 'append'
Config Diff Generation failed
'str' object has no attribute 'append'
'str' object has no attribute 'append'
Port Deletion Failed
[ERROR] Port breakout Failed!!! Opting Out
Failed to break out Port. Error:
admin@dx010:~$ sudo config interface breakout Ethernet124 4x25G[10G]

Do you want to Breakout the port, continue? [y/N]: y

Running Breakout Mode : 4x25G[10G]
Target Breakout Mode : 4x25G[10G]
[WARNING] No action will be taken as current and desired Breakout Mode are same.
Reply all
Reply to author
Forward
0 new messages