Home
last modified time | relevance | path

Searched hist:"9 ff48777feba12a836b209b0913335c64c30c8bf" (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-fan-presence/monitor/
H A Dfan.hppdiff 9ff48777feba12a836b209b0913335c64c30c8bf Mon Jul 19 13:49:43 CDT 2021 Mike Capps <mikepcapps@gmail.com> monitor : do not trigger error when inventory unavailable

Under some startup scenarios, fan-monitor can start before the
InventoryManager service has populated inventory. This leads to
false-positives when marking fans non-functional.

This fix detects D-Bus exceptions and defaults the fans to functional.
They subscribe to the interfaces-added signal which will populate the
fans with correct values as soon as Inventory Manager completes startup.

Signed-off-by: Mike Capps <mikepcapps@gmail.com>
Change-Id: I14bff20da14cba3f5ef4b79763867b5cecab0267
H A Dfan.cppdiff 9ff48777feba12a836b209b0913335c64c30c8bf Mon Jul 19 13:49:43 CDT 2021 Mike Capps <mikepcapps@gmail.com> monitor : do not trigger error when inventory unavailable

Under some startup scenarios, fan-monitor can start before the
InventoryManager service has populated inventory. This leads to
false-positives when marking fans non-functional.

This fix detects D-Bus exceptions and defaults the fans to functional.
They subscribe to the interfaces-added signal which will populate the
fans with correct values as soon as Inventory Manager completes startup.

Signed-off-by: Mike Capps <mikepcapps@gmail.com>
Change-Id: I14bff20da14cba3f5ef4b79763867b5cecab0267
H A Dtach_sensor.cppdiff 9ff48777feba12a836b209b0913335c64c30c8bf Mon Jul 19 13:49:43 CDT 2021 Mike Capps <mikepcapps@gmail.com> monitor : do not trigger error when inventory unavailable

Under some startup scenarios, fan-monitor can start before the
InventoryManager service has populated inventory. This leads to
false-positives when marking fans non-functional.

This fix detects D-Bus exceptions and defaults the fans to functional.
They subscribe to the interfaces-added signal which will populate the
fans with correct values as soon as Inventory Manager completes startup.

Signed-off-by: Mike Capps <mikepcapps@gmail.com>
Change-Id: I14bff20da14cba3f5ef4b79763867b5cecab0267