-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] config_db.json "BREAKOUT_CFG" update when upgrading #7402
Comments
Issue triage 4/28: To be discussed in DPB subgroup. |
@zhenggen-xu - Can you please review this issue ? |
We did discuss this in the DPB subgroup meeting. At this point, we are not automatically importing the "BREAKOUT_CFG" into configDB after upgrade, instead we use "config reload -l" option to get the table. If you strongly feel that is required, please send a PR for importing "BREAKOUT_CFG" into config_db.json in the migration scripts, we know exactly the steps to get that table: |
@zhenggen-xu After some discussion locally, we are okay with BREAKOUT_CFG not being imported by default, however we do believe that this case should be handled elegantly by Something like Because this strays far enough away from the original intention of this issue I have raised a new one to handle this. (#7957) |
Given this, this issue may be closed. |
Description
when doing upgrade from image without DPB to image with DPB,
the config_db.json file is not updated with "BREAKOUT_CFG" section.
when testing the upgrade scenario by:
To clearify, the port configuration from the config_db.json (with any splits) is present on the switch with DPB image we upgraded to, the only issue is that without BREAKOUT_CFG section in the config_db.json, the user is not able to configure any new breakouts.
Steps to reproduce the issue:
Describe the results you received:
the config_db.json was not updated with BREAKOUT_CFG section
Describe the results you expected:
the sonic installer should handel this issue in the case of sonic to sonic installation to a DPB image the config_db.json should be updated automatically.
Output of
show version
:upgrade from SONiC-OS-201911.113-dirty-20210419.164156
to SONiC-OS-SONIC.dpb_master.3-9721ca85_Internal
The text was updated successfully, but these errors were encountered: