Skip to content

[warm reboot] save configuration after warm reboot#3200

Merged
yxieca merged 2 commits intosonic-net:masterfrom
yxieca:save_db
Jul 24, 2019
Merged

[warm reboot] save configuration after warm reboot#3200
yxieca merged 2 commits intosonic-net:masterfrom
yxieca:save_db

Conversation

@yxieca
Copy link
Copy Markdown
Contributor

@yxieca yxieca commented Jul 22, 2019

- What I did

After warm reboot, save a copy of in memory database to config_db.json,
upgrade procedure might have removed config_db.json to force new image
to reload minigraph. However, reload minigraph is skipped during warm
reboot. Missing config_db.json would cause device to fault in next
non-upgrading cold/fast reboot.

Signed-off-by: Ying Xie ying.xie@microsoft.com

After warm reboot, save a copy of in memory database to config_db.json,
upgrade procedure might have removed config_db.json to force new image
to reload minigraph. However, reload minigraph is skipped during warm
reboot. Missing config_db.json would cause device to fault in next
non-upgrading cold/fast reboot.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
@yxieca yxieca merged commit 9d64ce7 into sonic-net:master Jul 24, 2019
@yxieca yxieca deleted the save_db branch July 24, 2019 16:59
yxieca added a commit that referenced this pull request Jul 24, 2019
* [warm reboot] save configuration after warm reboot

After warm reboot, save a copy of in memory database to config_db.json,
upgrade procedure might have removed config_db.json to force new image
to reload minigraph. However, reload minigraph is skipped during warm
reboot. Missing config_db.json would cause device to fault in next
non-upgrading cold/fast reboot.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* Update finalize-warmboot.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants