summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/chassis/files/skeleton-0001-Temporarily-disable-watchdog-support.patch
blob: d13348ef9ead4f36771fec7febdb2ffe347c168e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From a850cab934be49a08d467403a03ed1d6d76794f2 Mon Sep 17 00:00:00 2001
From: Michael Tritz <mtritz@us.ibm.com>
Date: Tue, 21 Feb 2017 10:22:59 -0600
Subject: [PATCH] Disable watchdog - communication issues with host

This patch will temporarily disable watchdog
errors from doing anything meaningful until
Hostboot supports IPMI.

Change-Id: I6afdc3b4c7bb2733f1e4469f5e45b2ea956d42c6
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
---
 chassis_control.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/chassis_control.py b/chassis_control.py
index faf7d1d..2ec9bd2 100644
--- a/chassis_control.py
+++ b/chassis_control.py
@@ -207,8 +207,7 @@ class ChassisControlObject(DbusProperties, DbusObjectManager):
         self.softReboot()

     def host_watchdog_signal_handler(self):
-        print "Watchdog Error, Going to quiesce"
-        self.quiesce()
+        print "Watchdog Error, ignoring due to Hostboot not supporting IPMI"

     def emergency_shutdown_signal_handler(self, message):
         print "Emergency Shutdown!"
--
2.10.1 (Apple Git-78)
OpenPOWER on IntegriCloud