Skip to content
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

Update WARM START FINALIZER to wait for linkmgrd to reconcile #11477

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

zjswhhh
Copy link
Contributor

@zjswhhh zjswhhh commented Jul 18, 2022

Spanning from sonic-net/sonic-linkmgrd#76, this PR is to update warm restart finalizer to wait for linkmgrd to be reconciled.

sign-off: Jing Zhang zhangjing@microsoft.com

Why I did it

To make sure finalizer save config after linkmgrd's reconciliation.

How I did it

Add linkmgrd to the reconciliation wait list of warmboot finalizer.

How to verify it

Verified on lab device, linkmgrd reconciled as expected. (Otherwise we would see Some components didn't finish reconcile: ... in syslog.)

admin@****************:~$ sudo zgrep "WARMBOOT_FINALIZER" /var/log/syslog --text
Jul 27 23:00:56.819553 **************** NOTICE root: WARMBOOT_FINALIZER : Wait for database to become ready...
Jul 27 23:00:57.488231 **************** NOTICE root: WARMBOOT_FINALIZER : Database is ready...
Jul 27 23:00:57.792936 **************** NOTICE root: WARMBOOT_FINALIZER : Restoring counters folder after warmboot...
Jul 27 23:01:00.899604 **************** NOTICE root: WARMBOOT_FINALIZER : Waiting for components: '  orchagent neighsyncd bgp linkmgrd' to reconcile ...
Jul 27 23:03:17.258042 **************** NOTICE root: WARMBOOT_FINALIZER : Tearing down control plane assistant ...
Jul 27 23:03:20.631575 **************** NOTICE root: WARMBOOT_FINALIZER : Save in-memory database after warm reboot ...
Jul 27 23:03:22.315776 **************** NOTICE root: WARMBOOT_FINALIZER : Finalizing warmboot...

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

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

Description for the changelog

Link to config_db schema for YANG module changes

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

@zjswhhh
Copy link
Contributor Author

zjswhhh commented Jul 21, 2022

This PR depends on #11513 to be merged first.

@yxieca
Copy link
Contributor

yxieca commented Jul 21, 2022

@zjswhhh please fill the PR template.

@zjswhhh
Copy link
Contributor Author

zjswhhh commented Jul 27, 2022

@yxieca @vaibhavhd - could you please help review when get a chance? Thanks!

@zjswhhh zjswhhh merged commit 626919e into sonic-net:master Jul 28, 2022
@zjswhhh zjswhhh deleted the finalizer_warmboot branch July 28, 2022 16:08
yxieca pushed a commit that referenced this pull request Jul 28, 2022
Spanning from sonic-net/sonic-linkmgrd#76, this PR is to update warm restart finalizer to wait for linkmgrd to be reconciled.

sign-off: Jing Zhang zhangjing@microsoft.com

Why I did it
To make sure finalizer save config after linkmgrd's reconciliation.

How I did it
Add linkmgrd to the reconciliation wait list of warmboot finalizer.

How to verify it
Verified on lab device, linkmgrd reconciled as expected.
qiluo-msft pushed a commit that referenced this pull request Aug 9, 2022
Spanning from sonic-net/sonic-linkmgrd#76, this PR is to update warm restart finalizer to wait for linkmgrd to be reconciled.

sign-off: Jing Zhang zhangjing@microsoft.com

Why I did it
To make sure finalizer save config after linkmgrd's reconciliation.

How I did it
Add linkmgrd to the reconciliation wait list of warmboot finalizer.

How to verify it
Verified on lab device, linkmgrd reconciled as expected.
skbarista pushed a commit to skbarista/sonic-buildimage that referenced this pull request Aug 17, 2022
…net#11477)

Spanning from sonic-net/sonic-linkmgrd#76, this PR is to update warm restart finalizer to wait for linkmgrd to be reconciled.

sign-off: Jing Zhang zhangjing@microsoft.com

Why I did it
To make sure finalizer save config after linkmgrd's reconciliation.

How I did it
Add linkmgrd to the reconciliation wait list of warmboot finalizer.

How to verify it
Verified on lab device, linkmgrd reconciled as expected.
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.

3 participants