Patrick Williams | 6066a87 | 2017-01-19 21:53:55 -0600 | [diff] [blame] | 1 | From 8f6ee172bf6d0a347696ecfb000eeb686245db90 Mon Sep 17 00:00:00 2001 |
| 2 | From: Patrick Williams <patrick@stwcx.xyz> |
| 3 | Date: Thu, 19 Jan 2017 21:27:51 -0600 |
| 4 | Subject: [PATCH] Temporarily disable watchdog support |
| 5 | |
| 6 | Hostboot does not support IPMI on P9 systems yet, so they do |
| 7 | not send the watchdog updates. Disable the watchdog until |
| 8 | they support. |
| 9 | |
| 10 | Change-Id: I03e5dca06f1eecfb24b35161f81190c23bf39b7f |
| 11 | Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
| 12 | --- |
| 13 | chassis_control.py | 4 +--- |
| 14 | 1 file changed, 1 insertion(+), 3 deletions(-) |
| 15 | |
| 16 | diff --git a/chassis_control.py b/chassis_control.py |
| 17 | index 3637d82..f475ecd 100644 |
| 18 | --- a/chassis_control.py |
| 19 | +++ b/chassis_control.py |
| 20 | @@ -199,9 +199,7 @@ class ChassisControlObject(DbusProperties, DbusObjectManager): |
| 21 | self.softReboot() |
| 22 | |
| 23 | def host_watchdog_signal_handler(self): |
| 24 | - print "Watchdog Error, Hard Rebooting" |
| 25 | - self.Set(DBUS_NAME, "reboot", 1) |
| 26 | - self.powerOff() |
| 27 | + print "Watchdog Error, ignoring due to Hostboot not supporting IPMI." |
| 28 | |
| 29 | def emergency_shutdown_signal_handler(self, message): |
| 30 | print "Emergency Shutdown!" |
| 31 | -- |
| 32 | 2.10.2 |
| 33 | |