commit | cd91d80e889d8d2463883311b6454ba734fb2fce | [log] [tgz] |
---|---|---|
author | XP Chen <xiao-peng.chen@fii-na.com> | Wed Sep 01 10:25:00 2021 -0500 |
committer | Vivekanand Veeracholan <vveerach@google.com> | Tue Nov 23 20:21:36 2021 +0000 |
tree | 4427b66b47271dbe9e1e0c5e885430b1338fe5ae | |
parent | 10a5e56222d874578ada8c9dbcf947c111301234 [diff] |
meta-fii/meta-kudo: Change watchdog action to power utility For shutdown, if it does not go through the power utility, the Chassis state will not change. For host reset, execute additional verification steps attached to the power utility service performing the host reboot. Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I2f67a34ba8cfd80fd3dde999baa329d44288bdfe
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 9586368..1baf4ca 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 @@ [Service] Type=oneshot RemainAfterExit=no -ExecStart=/usr/bin/env kudo.sh rst shutdown +ExecStart=/usr/bin/env ampere_power_util.sh mb off 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 fb6614e..b6d453f 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 @@ [Service] Type=oneshot RemainAfterExit=no -ExecStart=/usr/bin/env kudo.sh rst system +ExecStart=/usr/bin/env ampere_power_util.sh mb force_reset SyslogIdentifier=phosphor-watchdog