-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[202305][graceful reboot] Rename the platform_reboot to the pre_reboot_hook, remove the sysfs power cycle #18250
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
[202305][graceful reboot] Rename the platform_reboot to the pre_reboot_hook, remove the sysfs power cycle #18250
Conversation
…emove sysfs power cycle, and Debina reboot Signed-off-by: vadymhlushko-mlnx <[email protected]>
…r all mellanox devices Signed-off-by: vadymhlushko-mlnx <[email protected]>
@prgeor Can you please also review this one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vadymhlushko-mlnx appreciate if you could point to the master PR in the description
|
@prgeor could you please help to merge |
@liat-grozovik can you merge. |
@liat-grozovik could you please merge |
@StormLiangMS , Can you please assist with merge ? |
@StormLiangMS @yxieca can you merge |
@StormLiangMS @yxieca can you please merge |
hi @bingwang-ms could you help to comment on this? Is this needed for 202305? |
DEPENDS ON: [202305][graceful reboot] Add the pre_reboot_hook script execution, add the watchdog arm before the reboot
Why I did it
Add support for the
graceful reboot
instead of thesysfs power cycle
to avoid filesystem corruptionWork item tracking
How I did it
Rename the
platform_reboot
script to thepre_reboot_hook
.Remove the sysfs power cycle function, from now on the Debian reboot (
/sbin/reboot
) will be executed instead of the sysfs power cycle.How to verify it
show log -f
andjournalctl -p debug -f
reboot
command from the switch CLIWhich release branch to backport (provide reason below if selected)
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)