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

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

Merged
merged 2 commits into from
Jul 23, 2019

Conversation

vharish02
Copy link
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 [email protected]

- 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 <[email protected]>
@lguohan
Copy link
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
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
Contributor Author

Attaching test cases and unit test log.

PlatformReboot-UnitTestLog.docx

@lguohan
Copy link
Collaborator

lguohan commented Jun 29, 2019

can you resolve the conflict?

@vharish02
Copy link
Contributor Author

can you resolve the conflict?

done.

@lguohan
Copy link
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