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
1 file changed
tree: 1bf7aec5d30e578a67fb3edb12cb85a7d1926943
  1. cmake/
  2. include/
  3. service_files/
  4. src/
  5. tests/
  6. .clang-format
  7. .clang-ignore
  8. .gitignore
  9. cmake-format.json
  10. CMakeLists.txt
  11. Jenkinsfile
  12. LICENSE
  13. MAINTAINERS
  14. README.md
README.md

dbus-sensors

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.

key features

  • 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