-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[202111] [Mellanox] Fix issue: error message from system-health daemon is observed during system starting #10843
Conversation
… system starting Error message: "ERR healthd: Failed to read from file /var/run/hw-management/led/led_status_capability" is observed during system starting The system-health daemon will wait for 5 minutes before it starts to run. During this time, the only thing it does is to set the LED even before it starting. However, the corresponding sysfs has not been ready at the time it is being read, which cause the error message. Fix: Defer system-health daemon until hw-management service starts Signed-off-by: Stephen Sun <stephens@nvidia.com>
The failure is not caused by the PR. It should be a generic failure.
|
The build failure is caused by PR #9700 being cherry-picked to 202111 |
Please update and try again. |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run azure.sonic-buildimage |
/AzurePipelines run azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run azure.sonic-buildimage |
/AzurePipelines run azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Why I did it
Error message: "ERR healthd: Failed to read from file /var/run/hw-management/led/led_status_capability" is observed during system starting
The system-health daemon will wait for 5 minutes before it starts to run.
During this time, the only thing it does is to set the LED even before it starts.
However, the corresponding sysfs has not been ready at the time it is being read, which causes the error message.
Signed-off-by: Stephen Sun stephens@nvidia.com
How I did it
Defer system-health daemon until hw-management service starts
How to verify it
Run regression test
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)