root@sonic:/# gnoi_client -notls -insecure -module System -rpc Reboot -jsonin '{"method":1}'
System Reboot
root@sonic:/# gnoi_client -notls -insecure -module System -rpc RebootStatus
System RebootStatus
{"count":1,"method":1,"status":{"status":3,"message":"HostServiceDbus::Reboot: failed to call reboot host service"}}
Is it platform specific
generic
Importance or Severity
Medium
Previous Working Version
202411
Steps to Reproduce
Impact of this regression
After merging the new reboot implementation (sonic-net/sonic-gnmi#308, sonic-net/sonic-host-services#191, #20713) gNOI COLD reboot without a message fails.
Previously it was possible to execute a gNOI COLD reboot without a message.
The reason of the failure is
KeyErrorexception thrown by reboot host service here: https://github.com/sonic-net/sonic-host-services/blob/master/host_modules/reboot.py#L188Relevant log output
Output of
show version,show techsupportAttach files (if any)
No response