Skip to content

[code sync] Merge code from sonic-net/sonic-host-services:202605 to 202608 - #16

Merged
mssonicbld merged 3 commits into
Azure:202608from
mssonicbld:sonicbld/202608-merge
Jul 30, 2026
Merged

mssonicbld merged 3 commits into
Azure:202608from
mssonicbld:sonicbld/202608-merge

Conversation

@mssonicbld

Copy link
Copy Markdown
Collaborator
* dd015e1 - (origin/202605) [gnoi_shutdown_daemon] Log gNOI Reboot failure details (#417) (2026-07-29) [mssonicbld]
* 05b156a - Add an inline platform check for ExecCondition of gnoi-shutdown.service (#416) (2026-07-29) [mssonicbld]<br>```

mssonicbld and others added 3 commits July 29, 2026 16:14
…ce (#416)

Add an inline platform check for ExecCondition of gnoi-shutdown.service so that the gnoi-shutdown.service is skipped on non-smartswitch NPU platforms.

Fix issue: [#27975](sonic-net/sonic-buildimage#27975)

Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
#### Why I did it
When the gNOI Reboot (HALT) call to a DPU failed during graceful shutdown, the daemon only logged
"Reboot command failed" and hid stderr. That made failures hard to debug.

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

#### How I did it
- Stopped hiding stderr on the gNOI Reboot call.
- Added the return code, target IP:port, and the real error text to the log message.

#### How to verify it
- Run a graceful shutdown where the gNOI Reboot call fails (for example, an unreachable DPU).
- Check syslog and confirm the log now shows rc, target IP:port, and the gNOI error text.

#### Description for the changelog
Log full gNOI Reboot failure details (rc, target, stderr) in gnoi_shutdown_daemon.

Signed-off-by: Sonic Build Admin <sonicbld@microsoft.com>
@mssonicbld
mssonicbld merged commit cc59ae1 into Azure:202608 Jul 30, 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