From 2cd61bc136074fd9776e60a6f5fd29a8a333b04e Mon Sep 17 00:00:00 2001 From: Renuka Manavalan <47282725+renukamanavalan@users.noreply.github.com> Date: Wed, 26 May 2021 17:59:08 -0700 Subject: [PATCH 1/2] Invoke disk check periodically. (#7374) Why I did it Helps with periodic scan of disk for RO state. If found, this script makes transient fix and raise error message. --- files/image_config/monit/conf.d/sonic-host | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/files/image_config/monit/conf.d/sonic-host b/files/image_config/monit/conf.d/sonic-host index 17d7c64af7e..8af94b3f296 100644 --- a/files/image_config/monit/conf.d/sonic-host +++ b/files/image_config/monit/conf.d/sonic-host @@ -31,5 +31,12 @@ check program routeCheck with path "/usr/local/bin/route_check.py" every 5 cycles if status != 0 for 3 cycle then alert repeat every 1 cycles +# Check if /etc & /home are writable. If not, make them writable. +# Raise syslog error message, in case of underlying issues +# +check program diskCheck with path "/usr/local/bin/disk_check.py" + every 5 cycles + if status != 0 for 3 cycle then alert repeat every 1 cycles + check program container_checker with path "/usr/bin/container_checker" if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles From 237849a3308a62e9a70c27f5cb2ac5f51cf684a0 Mon Sep 17 00:00:00 2001 From: Kebo Liu Date: Thu, 27 May 2021 19:17:23 +0800 Subject: [PATCH 2/2] update hw-mgmt version to 2304 (#7725) - Why I did it Pick up fix from new hw-management package: Fix gearbox thermal zone name, which was lack suffix thermal zone number - How I did it Update the hw-management version number in the make file Update hw-management submodule pointer - How to verify it Run platform related test cases on Mellanox platform --- platform/mellanox/hw-management.mk | 2 +- platform/mellanox/hw-management/hw-mgmt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/mellanox/hw-management.mk b/platform/mellanox/hw-management.mk index 0c2f6a7d28d..3f8724fa135 100644 --- a/platform/mellanox/hw-management.mk +++ b/platform/mellanox/hw-management.mk @@ -1,6 +1,6 @@ # Mellanox HW Management -MLNX_HW_MANAGEMENT_VERSION = 7.0010.2303 +MLNX_HW_MANAGEMENT_VERSION = 7.0010.2304 export MLNX_HW_MANAGEMENT_VERSION diff --git a/platform/mellanox/hw-management/hw-mgmt b/platform/mellanox/hw-management/hw-mgmt index 8cd7f9872ec..5aaacf787c8 160000 --- a/platform/mellanox/hw-management/hw-mgmt +++ b/platform/mellanox/hw-management/hw-mgmt @@ -1 +1 @@ -Subproject commit 8cd7f9872ec4f8ca54863fc2c83722ae7ecc196a +Subproject commit 5aaacf787c8f1631e1617884abf4d9879ac23151