commit | ceaa377ab0b1aab94fa88c99f2e6eec8bc1bc8cb | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Jun 04 16:25:43 2018 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue Jun 19 13:48:03 2018 +0000 |
tree | 1938e83bd3cf32327f547da97d38108a546a3165 | |
parent | 108c06f24e48a09c62e0f3f78cee161f34a702cc [diff] |
wspoon: Improve fan error resolving rules The previous phosphor-dbus-monitor rules would only watch for the functional property to change on a fan, and then resolve errors for that fan if the property changed to true. This change will watch for both present and functional property changes, and resolve fan errors if both properties are true at that time. This closes the window of where if a fan is removed long enough for the present property to change to false but replaced fast enough that the functional property always stays true then the NotPresent error that was created will never get resolved so the fault LEDs won't turn off. Resolves openbmc/openbmc#3231 Tested: Various combinations of Present/Functional property state changes and also fan plugs/unplugs. Change-Id: I3255c0510b95509810b018a2a71d307bd7d4a946 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.