oxidecomputer / management-gateway-service

Crates shared between MGS in omicron and its agent task in hubris
Mozilla Public License 2.0
3 stars 3 forks source link

`faux-mgs` shouldn't fail to do a watchdog reset with old RoT firmware #277

Closed mkeeter closed 2 months ago

mkeeter commented 2 months ago
aaron@drteeth ~ $ pilot sp exec -e 'reset-component sp' BRM50230001
Sep 06 13:10:23.658 INFO creating SP handle on interface port7, component: faux-mgs
Sep 06 13:10:23.667 INFO initial discovery complete, addr: [fe80::aa40:25ff:fe05:2900%6]:11111, interface: port7, component: faux-mgs
Sep 06 13:10:23.667 INFO SP is prepared to reset component sp, component: faux-mgs
Sep 06 13:10:23.672 WARN unexpected error when checking for watchdog support: SpError(Sprot(Deserialization)), interface: port7, component: faux-mgs
Error: Error response from SP: sprot: failed to deserialize message

faux-mgs should handle the case of the RoT being too old and run without the watchdog.