Skip to content

Commit

Permalink
[Mellanox] fix for watchdog device not found, adding dependency on hw…
Browse files Browse the repository at this point in the history
…-management (#14182)

- Why I did it
Sometimes Nvidia watchdog device isn't ready when watchdog-control service is up after first installation from ONIE
need to delay watchdog control service to go up after hw-mgmt which gets devices up and ready

- How I did it
Delay Nvidia watchdog-control service before hw-mgmt has started on Mellanox platform in order to avoid missing or not ready watchdog device.

- How to verify it
verification test of ONIE installation of image in a loop
making sure watchdog service is always up (not failed) after first installation from ONIE
  • Loading branch information
dbarashinvd authored Mar 15, 2023
1 parent 03cab99 commit 06d6daf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ index 1c25ffb..0fbd877 100755
Description=Chassis HW management service of Mellanox systems
Documentation=man:hw-management.service(8)
-Before=determine-reboot-cause.service
+Before=determine-reboot-cause.service system-health.service
+Before=determine-reboot-cause.service system-health.service watchdog-control.service

[Service]
Type=oneshot
Expand Down

0 comments on commit 06d6daf

Please sign in to comment.