-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[202111 -> 202205][warm-boot]: DB migration doesn't work #11824
Comments
happen on multiple ASIC platforms only but load minigraph, then warmreboot works fine. Known issue, no fix. |
This is a known limitation that db_migrator cannot work when there is a version chain disruption. To work-around this issue, please run "sudo config load_minigraph -y" and "config save -y" to generate a new config_db.json. With that, worm-reboot upgrade should work again. Going forward, we need to bump up major version in master branch as soon as a new feature/release branch is created. This known issue has no fix. |
@yxieca not sure how this W/A suppose to mitigate the issue:
I tried to do the following:
|
This change (sonic-net/sonic-utilities#2272) needs to be cherry-picked into 202111 branch. |
@yxieca What is required to overcome this issue? I assume we need to upgrade old 202111 to 202111 with sonic-net/sonic-utilities#2272 and then to 202205? |
We need this PR on 202111 branch for upgrade path 202111->202205 to work. The tags were added to PR 2272, but the commit has not been picked so far. |
Description
The issue is caused by DB migrator:
Configuration reload is also broken:
Steps to reproduce the issue:
202111
imageconfig_db.json
doesn't have version defined202205
imagewarm-reboot
Describe the results you received:
Configuration migration is failed after
warm-reboot
Describe the results you expected:
Configuration migration is completed successfully
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: