Skip to content

[Mellanox] Make determine-reboot-cause service start after hw-management service#6465

Merged
jleveque merged 1 commit intosonic-net:masterfrom
keboliu:reboot-cause-fix
Jan 15, 2021
Merged

[Mellanox] Make determine-reboot-cause service start after hw-management service#6465
jleveque merged 1 commit intosonic-net:masterfrom
keboliu:reboot-cause-fix

Conversation

@keboliu
Copy link
Collaborator

@keboliu keboliu commented Jan 15, 2021

- Why I did it

On the Mellanox platform, reboot cause is fetched from some certain sysfs which is created by the hw-management service. So determine-reboot-cause service shall start after hw-management, otherwise it could fail due to the related sysfs is not available yet.

- How I did it

Add a patch to the hw-management service to make sure determine-reboot-cause service should start after it.

- How to verify it

run on Mellanox platform to check whether determine-reboot-cause can be success on various reboot.

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

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

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

@jleveque jleveque merged commit 4cf9316 into sonic-net:master Jan 15, 2021
@keboliu keboliu deleted the reboot-cause-fix branch January 16, 2021 01:10
lguohan pushed a commit that referenced this pull request Jan 21, 2021
…ent service (#6465)

**- Why I did it**

On the Mellanox platform, reboot cause is fetched from some certain sysfs which is created by the hw-management service. So determine-reboot-cause service shall start after hw-management, otherwise it could fail due to the related sysfs is not available yet.

**- How I did it**

Add a patch to the hw-management service to make sure determine-reboot-cause service should start after it.

Signed-off-by: Kebo Liu <[email protected]>
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