Skip to content

[pmon] Move smartctl from pmon to host#9607

Merged
sujinmkang merged 2 commits intosonic-net:masterfrom
alexrallen:swap_smartctl
Jan 19, 2022
Merged

[pmon] Move smartctl from pmon to host#9607
sujinmkang merged 2 commits intosonic-net:masterfrom
alexrallen:swap_smartctl

Conversation

@alexrallen
Copy link
Copy Markdown
Contributor

Why I did it

Need to be able to run smartctl when pmon docker is not running.

How I did it

Removed the pmon dependency for pmon as well as the command wrapper and added it to the debian-extension.

How to verify it

  • Stop pmon
  • Run smartctl from the host and verify it runs without error

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

None.

Description for the changelog

[pmon] Move smartctl from pmon to host

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

453801468 0 0

@qiluo-msft
Copy link
Copy Markdown
Collaborator

What is the reason that pmon docker is not running?

@alexrallen
Copy link
Copy Markdown
Contributor Author

I need smartctl to be accessible during reboot in order to perform firmware installations. I also believe that it is important for a diagnostic tool such as smartctl to not be dependent on high level functionality like docker.

@liat-grozovik liat-grozovik added the Request for 202111 Branch For PRs being requested for 202111 branch label Jan 2, 2022
@liat-grozovik liat-grozovik requested review from sujinmkang and removed request for lguohan, qiluo-msft and xumia January 2, 2022 15:51
sujinmkang
sujinmkang previously approved these changes Jan 18, 2022
@sujinmkang
Copy link
Copy Markdown
Collaborator

@alexrallen Can you please resolve the conflicts on this PR?

@alexrallen
Copy link
Copy Markdown
Contributor Author

@sujinmkang I fixed the conflict, please re-review.

@sujinmkang sujinmkang merged commit 5f596ae into sonic-net:master Jan 19, 2022
@judyjoseph
Copy link
Copy Markdown
Contributor

@alexrallen There are conflicts merging into 202111, please raise a new PR on branch 20211.

@judyjoseph judyjoseph removed the Request for 202111 Branch For PRs being requested for 202111 branch label Jan 23, 2022
@sujinmkang sujinmkang added the Request for 202111 Branch For PRs being requested for 202111 branch label Jan 31, 2022
judyjoseph pushed a commit that referenced this pull request Feb 14, 2022
Why I did it
Need to be able to run smartctl when pmon docker is not running.

How I did it
Removed the pmon dependency for pmon as well as the command wrapper and added it to the debian-extension.

How to verify it
Stop pmon
Run smartctl from the host and verify it runs without error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Included in 202111 Branch Request for 202111 Branch For PRs being requested for 202111 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants