summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-10-13 10:02:07 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-10-31 12:49:15 +0000
commita552781a6eb17eeac3f7c3ce531a7cee0e48898d (patch)
tree0d95ebfd33678b51f4a24ef5704d9b45765b5816 /meta-openbmc-machines/meta-openpower/meta-ibm
parent3bc0bd561ed2a4052411e22de93c044dcd55d221 (diff)
downloadtalos-openbmc-a552781a6eb17eeac3f7c3ce531a7cee0e48898d.tar.gz
talos-openbmc-a552781a6eb17eeac3f7c3ce531a7cee0e48898d.zip
Create Shutdown Error on fan count shutdown
Create a Shutdown error log when the system shuts down due to not enough present and functional fans. Changed in both air cooled and water cooled yamls. Change-Id: I1dbf13e5689bfd7a1b08eb1d1c52e3de3a084642 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm')
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/air-cooled.yaml13
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/water-cooled.yaml13
2 files changed, 24 insertions, 2 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/air-cooled.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/air-cooled.yaml
index 99745a603..3ee490f9e 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/air-cooled.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/air-cooled.yaml
@@ -354,12 +354,14 @@
- name: log and shutdown
description: >
- 'Shut the system down and log an event.'
+ 'Shut the system down, log an event in the journal, and create an
+ error log.'
class: callback
callback: group
members:
- shutdown
- log
+ - create shutdown error
- name: shutdown
description: >
@@ -473,3 +475,12 @@
- name: xyz::openbmc_project::Inventory::Nonfunctional::CALLOUT_INVENTORY_PATH
value: /xyz/openbmc_project/inventory/system/chassis/motherboard/fan3
type: string
+
+- name: create shutdown error
+ description: >
+ 'Create a Fan Shutdown Error log.'
+ class: callback
+ callback: elog
+ paths: chassis state
+ properties: chassis powered
+ error: xyz::openbmc_project::State::Shutdown::Inventory::Error::Fan
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/water-cooled.yaml b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/water-cooled.yaml
index 7c067920d..dd0ce00ef 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/water-cooled.yaml
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-policy/water-cooled.yaml
@@ -316,12 +316,14 @@
- name: log and shutdown
description: >
- 'Shut the system down and log an event.'
+ 'Shut the system down, log an event in the journal, and create an
+ error log.'
class: callback
callback: group
members:
- shutdown
- log
+ - create shutdown error
- name: shutdown
description: >
@@ -413,3 +415,12 @@
- name: xyz::openbmc_project::Inventory::Nonfunctional::CALLOUT_INVENTORY_PATH
value: /xyz/openbmc_project/inventory/system/chassis/motherboard/fan3
type: string
+
+- name: create shutdown error
+ description: >
+ 'Create a Fan Shutdown Error log.'
+ class: callback
+ callback: elog
+ paths: chassis state
+ properties: chassis powered
+ error: xyz::openbmc_project::State::Shutdown::Inventory::Error::Fan
OpenPOWER on IntegriCloud