Skip to content

Bug:[Smartswitch] Error log from gnoi-shutdown-daemon after setting admin state to down on a DPU which is powered off #25889

@gpunathilell

Description

@gpunathilell

Is it platform specific

generic

Importance or Severity

Critical

Description of the bug

If DPU is currently powered off (with admin state set to down in configuration on config reload/ reboot commands will call the command set_admin_state_gracefully on an already powered off DPU. which will in-turn lead to gnoi-shutdown-daemon execution we get the error:

2026 Mar  4 16:57:47.694279 sonic ERR gnoi-shutdown-daemon[12171]: DPU0: Reboot command failed
2026 Mar  4 16:57:47.694376 sonic ERR gnoi-shutdown-daemon[12171]: DPU0: Failed to send Reboot command

Steps to Reproduce

Have the configuration to power off the DPUs:

    "CHASSIS_MODULE": {
        "DPU0": {
            "admin_status": "down"
        },
        "DPU1": {
            "admin_status": "down"
        },
        "DPU2": {
            "admin_status": "down"
        },
        "DPU3": {
            "admin_status": "down"
        }
    },

Ensure DPUs are powered off
and then execute config reload / reboot:
The error logs are seen in the logs

2026 Mar  4 16:57:47.694279 sonic ERR gnoi-shutdown-daemon[12171]: DPU0: Reboot command failed
2026 Mar  4 16:57:47.694376 sonic ERR gnoi-shutdown-daemon[12171]: DPU0: Failed to send Reboot command

Actual Behavior and Expected Behavior

No error logs should be seen on execution

Relevant log output

Output of show version, show techsupport

202511_RC latest hash

Attach files (if any)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions