[action] [PR:818] [PMON] Bmcctld improvements & thermalctld: push thermals from Switch-Host --> BMC#70
Merged
Conversation
…Host --> BMC *** **Changes in this PR** *** Fixes issue: sonic-net/sonic-platform-daemons#824 **sonic-bmcctld/scripts/bmcctld** - Conditional SWITCH_HOST_POWER_ON_DELAY - applied only on REBOOT_CAUSE_POWER_LOSS; skipped on warm/fast/soft reboot. - GracefulShutdownHandler.execute() cleaned up - Event-log de-duplication across handler functions - Rack manager alert : skip when incoming alert matches to existing alert level, prevents unnecessary pub/sub events - chassis module admin_status : skip when admin_status don't change, prevents unnecessary pub/sub events - Uses self.chassis.is_liquid_cooled() platform API. - Update the init_host_state API to derive the device_power_state from get_oper_status platform API which will either ONLINE/OFFLINE. - Set the default graceful_shutdown_timeout = 0 till we support GNOI graceful shutdown **sonic-thermalctld/scripts/thermalctld** - EventLogger class added - stores critical events to syslog and /host/bmc/event.log. - Switch-Host ↔ BMC, thermals are pushed to BMC, via TEMPERATURE_INFO_STATE_DB table - critical temperature breaches logged into BMC event log. - LiquidCoolingUpdater improvements: - writes SYSTEM_LEAK_STATUS only on transitions - Per-sensor state updates also only on transitions - Added the Leak severity escalation logic (MINOR → CRITICAL after max_minor_duration_sec). - Critical leaks logged via event_logger. - Add logic to use self.chassis.is_liquid_cooled() also to identify liquid cooled platforms" Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
Collaborator
Author
|
Original PR: sonic-net/sonic-platform-daemons#818 |
Collaborator
Author
|
/azp run |
|
No pipelines are associated with this pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes in this PR
Fixes issue: sonic-net/sonic-platform-daemons#824
sonic-bmcctld/scripts/bmcctld
sonic-thermalctld/scripts/thermalctld
- critical temperature breaches logged into BMC event log.
- writes SYSTEM_LEAK_STATUS only on transitions
- Per-sensor state updates also only on transitions
Signed-off-by: Sonic Build Admin sonicbld@microsoft.com