Skip to content

[code sync] Merge code from sonic-net/sonic-platform-daemons:202605 to 202607 - #84

Merged
mssonicbld merged 2 commits into
Azure:202607from
mssonicbld:sonicbld/202607-merge
Aug 31, 2026
Merged

[code sync] Merge code from sonic-net/sonic-platform-daemons:202605 to 202607#84
mssonicbld merged 2 commits into
Azure:202607from
mssonicbld:sonicbld/202607-merge

Conversation

@mssonicbld

Copy link
Copy Markdown
Collaborator
* ca27813 - (origin/202605) [PMON] Bmcctld improvements & thermalctld: push thermals from Switch-Host --> BMC (#885) (2026-08-31) [mssonicbld]<br>```

mssonicbld and others added 2 commits August 31, 2026 09:36
…Host --> BMC (#885)

#### Why I did it
Bmcctld improvements & thermalctld: push thermals from Switch-Host --> BMC

##### Work item tracking
- Microsoft ADO **(number only)**: N/A

#### How I did it

**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"

#### How to verify it
All Unit tests pass and sonic-mgmt tests for bmcctld and thermalctld pass

#### Which release branch to backport (provide reason below if selected)
- [ ] 201811
- [ ] 201911
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411
- [ ] 202505
- [ ] 202511
- [x] 202605

Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
@mssonicbld
mssonicbld merged commit 5089641 into Azure:202607 Aug 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant