You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"BREAKOUT_CFG" keys are not presented in CONFIG_DB after installation of latest SONiC master branch image with DPB support.
Capability files are presented on the switch like in this PR_6003
Steps to reproduce the issue:
Install the latest master image on the switch
Do the next command - config interface breakout Ethernet4 2x50G -y
Describe the results you received:
root@arc-switch1004:~# config interface breakout Ethernet4 2x50G -y
[ERROR] Breakout feature is not available without platform.json file
Aborted!
But actually platform.json is presented on the switch.
root@arc-switch1004:~# redis-cli -n 4 KEYS "*BREAKOUT_CFG*" - the output of this command is empty.
Describe the results you expected:
root@arc-switch1004:~# config interface breakout Ethernet4 4x25G[10G]
Do you want to Breakout the port, continue? [y/N]: y
Running Breakout Mode : 2x50G
Target Breakout Mode : 4x25G[10G]
Ports to be deleted :
{
"Ethernet6": "50000",
"Ethernet4": "50000"
}
Ports to be added :
{
"Ethernet6": "25000",
"Ethernet7": "25000",
"Ethernet4": "25000",
"Ethernet5": "25000"
}
After running Logic to limit the impact
Final list of ports to be deleted :
{
"Ethernet6": "50000",
"Ethernet4": "50000"
}
Final list of ports to be added :
{
"Ethernet6": "25000",
"Ethernet7": "25000",
"Ethernet4": "25000",
"Ethernet5": "25000"
}
Loaded below Yang Models
['sonic-acl', 'sonic-breakout_cfg', 'sonic-crm', 'sonic-device_metadata', 'sonic-device_neighbor', 'sonic-extension', 'sonic-interface', 'sonic-loopback-interface', 'sonic-port', 'sonic-portchannel', 'sonic-types', 'sonic-versions', 'sonic-vlan']
Note: Below table(s) have no YANG models:
FLEX_COUNTER_TABLE, TELEMETRY, FEATURE,
Below Config can not be verified, It may cause harm to the system
{}
Do you wish to Continue? [y/N]: y
Breakout process got successfully completed.
Please note loaded setting will be lost after system reboot. To preserve setting, run `config save`.
Additional information you deem important (e.g. issue happens only occasionally):
@samaity : It says breakout table is not created even if platform.json is present, after image installation. Do we need to do anything here, please take a look thanks.
@vadymhlushko-mlnx If the image is fresh installed like ONIE, it should have that tables. In case of the sonic_installer, since we take the config_db.json from old image where it might not have the table, we will hit this issue.
This seems to be a generic issue where the new SONiC version introduce new tables in config_db.json and we use sonic_installer. I think we should load all default tables before config load, which can be achieved by "config reload -l"
Description
"BREAKOUT_CFG" keys are not presented in CONFIG_DB after installation of latest SONiC master branch image with DPB support.
Capability files are presented on the switch like in this PR_6003
Steps to reproduce the issue:
config interface breakout Ethernet4 2x50G -y
Describe the results you received:
But actually
platform.json
is presented on the switch.root@arc-switch1004:~# redis-cli -n 4 KEYS "*BREAKOUT_CFG*"
- the output of this command is empty.Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: