Skip to content

Run db_migrator for non first-time reboots#71

Closed
vivekrnv wants to merge 3 commits intomasterfrom
db_mig_succesive_boot
Closed

Run db_migrator for non first-time reboots#71
vivekrnv wants to merge 3 commits intomasterfrom
db_mig_succesive_boot

Conversation

@vivekrnv
Copy link
Owner

Why I did it

The recent change https://github.com/sonic-net/sonic-buildimage/pull/15685#discussion_r1268400869 removed the db migration for non first reboots.

This is problematic for many deployments which doesn't rely on ZTP and push a custom config_db.json

Work item tracking
  • Microsoft ADO (number only):

How I did it

Re-introduce the logic to run the db_migrator on non-first boots

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
@vivekrnv vivekrnv closed this Aug 11, 2023
vivekrnv pushed a commit that referenced this pull request Oct 13, 2023
…atically (sonic-net#15544)

src/sonic-telemetry

*   0b8843c - (HEAD -> 202205, origin/202205) Merge pull request #120 from zbud-msft/202205_divide_by_zero (3 hours ago) [Ying Xie]
| *   015defa - Merge branch '202205' into 202205_divide_by_zero (5 hours ago) [Zain Budhwani]
* | de2124b - Change log level (5 hours ago) [zbud-msft]
* | f203be5 - Add logs for md5 checksum (#80) (5 hours ago) [Zain Budhwani]
| *   ea6c84b - Merge branch '202205' into 202205_divide_by_zero (31 hours ago) [Zain Budhwani]
* | ab98380 - Fix sonic-mgmt-common version to ec32690 in pipeline (#123) (34 hours ago) [Sachin Holla]
* 5fcecef - Merge branch '202205' into 202205_divide_by_zero (4 days ago) [Ying Xie]
* 09c8bfc - Merge branch '202205' into 202205_divide_by_zero (11 days ago) [Zain Budhwani]
* 21b9bc8 - Fix crash when retrieving cpu utilization (#70) (#71) (11 days ago) [Zain Budhwani]
vivekrnv pushed a commit that referenced this pull request Dec 18, 2024
…ically (sonic-net#21065)

#### Why I did it
src/sonic-dbsyncd
```
* b0ea01f - (HEAD -> master, origin/test_202411_20, origin/test_202411_100, origin/master, origin/kperumal_202411, origin/HEAD, origin/202411) [lldp]Fix the issue of only one field lldp_rem_time_mark in APPL_DB (#71) (2 days ago) [Zhaohui Sun]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vivekrnv pushed a commit that referenced this pull request Feb 6, 2025
…ically (sonic-net#21163)

#### Why I did it
src/sonic-dbsyncd
```
* b0ea01f - (HEAD -> 202411, origin/test_202411_20, origin/test_202411_100, origin/master, origin/kperumal_202411, origin/HEAD, origin/202411, master) [lldp]Fix the issue of only one field lldp_rem_time_mark in APPL_DB (#71) (13 days ago) [Zhaohui Sun]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vivekrnv pushed a commit that referenced this pull request Mar 24, 2025
… automatically (sonic-net#897)

#### Why I did it
src/sonic-platform-common
```
* a193da4 - (HEAD -> 202412, origin/202412) Initialize unsupported values to 'N/A' in CmisApi::get_transceiver_info (#69) (20 hours ago) [mssonicbld]
* 1845ccd - [code sync] Merge code from sonic-net/sonic-platform-common:202411 to 202412 (#71) (20 hours ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vivekrnv pushed a commit that referenced this pull request Jul 3, 2025
…ically (sonic-net#23157)

#### Why I did it
src/sonic-dash-ha
```
* b8ca7c1 - (HEAD -> master, origin/master, origin/HEAD) Change field_values deserializer to support serde(default) (#71) (4 hours ago) [yue-fred-gao]
* 1b6f04f - Test utils to test hamgrd in local workspace (#72) (4 hours ago) [yue-fred-gao]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vivekrnv pushed a commit that referenced this pull request Sep 3, 2025
…ly (sonic-net#23870)

#### Why I did it
src/sonic-stp
```
* 94908be - (HEAD -> master, origin/master, origin/HEAD) Add support for 800G interfaces in STP (#71) (19 hours ago) [Yogapriya1128]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vivekrnv pushed a commit that referenced this pull request Sep 24, 2025
…ly (sonic-net#23946)

#### Why I did it
src/dhcprelay
```
* 0388d85 - (HEAD -> master, origin/master, origin/HEAD) Allow using Boost 1.83 for compilation (#71) (2 days ago) [Saikrishna Arcot]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vivekrnv pushed a commit that referenced this pull request Feb 17, 2026
…ly (sonic-net#25536)

#### Why I did it
src/sonic-ztp
```
* 170acb0 - (HEAD -> master, origin/master, origin/HEAD) Skip ZTP service during warm boot (#71) (5 hours ago) [Ying Xie]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants