commit | d12f23ecc9e136d7593f75d3496f475ec4c12f55 | [log] [tgz] |
---|---|---|
author | jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Tue Dec 03 23:03:52 2019 +0000 |
committer | mutyalax.jayaprakash <mutyalax.jayaprakash@intel.com> | Thu Dec 12 05:20:43 2019 +0000 |
tree | 1bf7aec5d30e578a67fb3edb12cb85a7d1926943 | |
parent | 73c363ff2d131b59149baaa0bc9bff41a3cfb125 [diff] |
PSUEvent:Fix for ConfigureError deassert eventlog Issue: Deasserted event - ConfigureError deassert, cannot generated when mismatch PSU is removed. Fix: Provided fix to get "ConfigureError deassert" event log. Tested: 1. Removed one of 1600W PSU, which server holding 2 PSU's drawing 1600W and Inserted mismatch PSU which is 2130W. 2. Then removed 2130W PSU and inserted 1600W PSU. 3. Verified the eventlog generated on Redfish Get: https://<BMC-IP>/redfish/v1/Systems/system/LogServices/ EventLog/Entries Response: { "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry", "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/ Entries/483", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "1970-01-01T00:08:03+00:00", "EntryType": "Event", "Id": "483", "Message": "", "MessageArgs": [ "PSU2" ], "MessageId": "OpenBMC.0.1.PowerSupplyConfigurationErrorRecovered", "Name": "System Event Log Entry", "Severity": "" } Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> Change-Id: Ie70b4e5520c61f45915b5bfb22a77942818c690b
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access