summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivekanand Veeracholan <vveerach@google.com>2024-10-14 20:29:43 +0300
committerVivekanand Veeracholan <vveerach@google.com>2024-10-14 20:29:43 +0300
commite026becc4bbbee6bf0104e29b02bbc7e49f072b6 (patch)
treec80f8178ac7eaf475fb67d3ef05672deeef26070
parentc626a0d1b458c4ef9343963e86a2990fee8994e1 (diff)
downloadopenbmc-e026becc4bbbee6bf0104e29b02bbc7e49f072b6.tar.xz
meta-kudo: Make watchdog actions Noop
Kudo machine has some BMC side IPMI timeouts. This has caused watchdog petting to be missed and reset the host. Just log watchdog triggers and don't take any reset actions. Host being inactive is monitored by other services. Change-Id: I351442e814a68698909ded65778f8ab371e2ba0f Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
-rw-r--r--meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service2
-rw-r--r--meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service2
-rw-r--r--meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service
index 68b1fb45dc..0c85b58469 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service
+++ b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-cycle.service
@@ -4,5 +4,5 @@ Description=Watchdog power state power hotswap
[Service]
Type=oneshot
RemainAfterExit=no
-ExecStart=/usr/sbin/kudo.sh rst hotswap
+ExecStart=echo "Watchdog PowerCycle Action happened (no ops)"
SyslogIdentifier=phosphor-watchdog
diff --git a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service
index 33dbe4bfc8..6925441054 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service
+++ b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service
@@ -4,5 +4,5 @@ Description=Watchdog power state power cycle shutdown
[Service]
Type=oneshot
RemainAfterExit=no
-ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb off
+ExecStart=echo "Watchdog PowerOff Action happened (no ops)"
SyslogIdentifier=phosphor-watchdog
diff --git a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service
index 84adfb4c67..8dae54c2f6 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service
+++ b/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-reset.service
@@ -4,5 +4,5 @@ Description=Watchdog power state reset system
[Service]
Type=oneshot
RemainAfterExit=no
-ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb host_reset
+ExecStart=echo "Watchdog HardReset Action Happened (no ops)"
SyslogIdentifier=phosphor-watchdog