siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.83k stars 546 forks source link

`talosctl -n <ip> reset` On RaspberryPi Wipes Firmware #8993

Closed chr0n1x closed 4 months ago

chr0n1x commented 4 months ago

Bug Report

RPi4 Model B that was already running talosOS as a k8s-worker node fails to reboot/startup after a talosctl reset

Description

I have my baremetal cluster running on a few RPi4s, model B.

While experimenting with things, I decided to reset one of the nodes before applying a new machine configuration. The command run was:

talosctl -n <node IP> reset

Logs

The command exit 0s on my main machine. The talos rpi worker however just seemingly goes into the rpi poweroff state. After unplugging the power and plugging it back in with a display, The RPi4 ModelB boot screen is present (instead of the uboot one) and there's a Firmware not found message.

Environment

frezbo commented 4 months ago

Yes a normal reset would wipe the whole disk, if you just want to reset back to maintenance use --system-labels-to-wipe=STATE --system-labels-to-wipe=EPHEMERAL