From 06d6dafcf34e1c51bc1d406e8c34ca0f07787ffd Mon Sep 17 00:00:00 2001 From: dbarashinvd <105214075+dbarashinvd@users.noreply.github.com> Date: Wed, 15 Mar 2023 18:36:20 +0200 Subject: [PATCH] [Mellanox] fix for watchdog device not found, adding dependency on hw-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 --- ...4-Make-system-health-service-starts-after-hw-managemen.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/mellanox/hw-management/0004-Make-system-health-service-starts-after-hw-managemen.patch b/platform/mellanox/hw-management/0004-Make-system-health-service-starts-after-hw-managemen.patch index 6af57c842d..5423cbb001 100644 --- a/platform/mellanox/hw-management/0004-Make-system-health-service-starts-after-hw-managemen.patch +++ b/platform/mellanox/hw-management/0004-Make-system-health-service-starts-after-hw-managemen.patch @@ -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