Skip to content

[sonic-platform-modules-dell] Graceful platform reboot#2912

Merged
lguohan merged 2 commits intosonic-net:masterfrom
vharish02:graceful_platform_reboot
Jul 23, 2019
Merged

[sonic-platform-modules-dell] Graceful platform reboot#2912
lguohan merged 2 commits intosonic-net:masterfrom
vharish02:graceful_platform_reboot

Conversation

@vharish02
Copy link
Copy Markdown
Contributor

The following commit addresses the graceful unmounting of file
system and graceful shutdown of dockers before calling a
cold reboot which will cause a power cycle of SSD. This ensures
orderly shutdown and no potential corruption of files systems because
of the power cycle to SSD.
This commit will use the existing systemd-reboot service scripts
and override the configuration to do cold reboot for S6100 and
Z9100.
Unit tested the fix and graceful shutdown of file system and
dockers are done with cold reboot.

Signed-off-by: Harish Venkatraman harish_venkatraman@dell.com

- What I did

- How I did it

- How to verify it

- Description for the changelog

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

The following commit addresses the graceful unmounting of file
system and graceful shutdown of dockers before calling a
cold reboot which will cause a power cycle of SSD. This ensures
orderly shutdown and no corruption of files systems because
of the power cycle to SSD.
This commit will use the existing systemd-reboot service scripts
and override the configuration to do cold reboot for S6100 and
Z9100.
Unit tested the fix and graceful shutdown of file system and
dockers are done with cold reboot.

Signed-off-by: Harish Venkatraman <harish_venkatraman@dell.com>
@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented May 28, 2019

can you provide the test log? since the request is also to 201803 branch, can you provide test log on that branch as well?

@vharish02
Copy link
Copy Markdown
Contributor Author

can you provide the test log? since the request is also to 201803 branch, can you provide test log on that branch as well?

I will provide the test cases and test logs for 201803

@vharish02
Copy link
Copy Markdown
Contributor Author

Attaching test cases and unit test log.

PlatformReboot-UnitTestLog.docx

@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Jun 29, 2019

can you resolve the conflict?

@vharish02
Copy link
Copy Markdown
Contributor Author

can you resolve the conflict?

done.

@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Jul 16, 2019

retest this please

@lguohan lguohan merged commit dbe07a4 into sonic-net:master Jul 23, 2019
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