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

[Edgecore][device][platform] Fan-control before do shutdown, need to … #27

Conversation

ec-michael-shih
Copy link
Collaborator

Why I did it

After doing cpu shutown and power-cycle, we'll find syslog loss shutdown message.
So need to do sync buffer to disk command first.

How I did it

Before DUT shutdown, need to do sync command to save log buffer to disk.

How to verify it

Let DUT shutdown, and power-cycle, and the CPU shutdown message is still on syslog,
it can prove the modify is succeeded.

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

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

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

…sync buffer to disk first.

[Why to modify]:
After doing cpu shutown and power-cycle, we'll find syslog loss shutdown message.
So need to do sync buffer to disk command first.

Signed-off-by: michael_shih <michael_shih@edge-core.com>
@bryan1978 bryan1978 merged commit d223d36 into edge-core:202211.0 Feb 2, 2024
1 check passed
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