Skip to content

[fast-reboot] Fix regression: set state_db flag to support fast-reboot from older images #16733

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

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

vaibhavhd
Copy link
Contributor

@vaibhavhd vaibhavhd commented Sep 27, 2023

Why I did it

Fix: #16699

Fast reboot is failing from old OS versions (eg., 201911 image) to latest (eg., master branch) after PR #15685

The system wide flag for FAST_REBOOT is still required when the base OS version does not support the new fast-reboot reconciliation logic (no db dump)

Work item tracking
  • Microsoft ADO (number only): 25018451

How I did it

Set system flag for fast reboot during boot up path

How to verify it

Change restores the state as it was before PR 16225, and fast-reboot worked before 16225

Manual tests are in progress.

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)

@vaibhavhd
Copy link
Contributor Author

Please do not merge this PR until manual verification is completed on the master and cherry pick branches.

@yxieca yxieca merged commit 07f8507 into sonic-net:master Sep 28, 2023
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 28, 2023
…t fast-reboot from older images (sonic-net#16733)

Why I did it
Fix: sonic-net#16699

Fast reboot is failing from old OS versions (eg., 201911 image) to latest (eg., master branch) after PR sonic-net#15685

The system wide flag for FAST_REBOOT is still required when the base OS version does not support the new fast-reboot reconciliation logic (no db dump)
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #16753

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 28, 2023
…t fast-reboot from older images (sonic-net#16733)

Why I did it
Fix: sonic-net#16699

Fast reboot is failing from old OS versions (eg., 201911 image) to latest (eg., master branch) after PR sonic-net#15685

The system wide flag for FAST_REBOOT is still required when the base OS version does not support the new fast-reboot reconciliation logic (no db dump)
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 28, 2023
…t fast-reboot from older images (sonic-net#16733)

Why I did it
Fix: sonic-net#16699

Fast reboot is failing from old OS versions (eg., 201911 image) to latest (eg., master branch) after PR sonic-net#15685

The system wide flag for FAST_REBOOT is still required when the base OS version does not support the new fast-reboot reconciliation logic (no db dump)
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #16754

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202211: #16755

@mssonicbld
Copy link
Collaborator

@vaibhavhd cherry pick PR didn't pass PR checker. Please check!!!
#16755

7 similar comments
@mssonicbld
Copy link
Collaborator

@vaibhavhd cherry pick PR didn't pass PR checker. Please check!!!
#16755

@mssonicbld
Copy link
Collaborator

@vaibhavhd cherry pick PR didn't pass PR checker. Please check!!!
#16755

@mssonicbld
Copy link
Collaborator

@vaibhavhd cherry pick PR didn't pass PR checker. Please check!!!
#16755

@mssonicbld
Copy link
Collaborator

@vaibhavhd cherry pick PR didn't pass PR checker. Please check!!!
#16755

@mssonicbld
Copy link
Collaborator

@vaibhavhd cherry pick PR didn't pass PR checker. Please check!!!
#16755

@mssonicbld
Copy link
Collaborator

@vaibhavhd cherry pick PR didn't pass PR checker. Please check!!!
#16755

@mssonicbld
Copy link
Collaborator

@vaibhavhd cherry pick PR didn't pass PR checker. Please check!!!
#16755

mssonicbld pushed a commit that referenced this pull request Oct 20, 2023
…t fast-reboot from older images (#16733)

Why I did it
Fix: #16699

Fast reboot is failing from old OS versions (eg., 201911 image) to latest (eg., master branch) after PR #15685

The system wide flag for FAST_REBOOT is still required when the base OS version does not support the new fast-reboot reconciliation logic (no db dump)
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.

[fast-reboot] fast reboot upgrade from 201911 to 202205 has downtime >30 sec
4 participants