siderolabs/sidero

Reboot server after un-allocate

aarnaud opened this issue · 4 comments

After deletion of cluster, servers are un-allocated in CAPI but their are never rebooted, so the k8s still running.

NAME                                   HOSTNAME        BMC IP   ACCEPTED   CORDONED   ALLOCATED   CLEAN   POWER   AGE
0e559c4c-3278-11b2-xxxx                lab-1                    true                  false       false   on      3h36m
40f85200-e0bc-11e9-xxxx                lab-2                    true                  false       false   on      4h4m
415c4bf2-db1a-c6e3-xxxx                lab-3                    true                  false       false   on      4h4m

So the Clean status stay at False

I saw this issue #146 but it seem the reboot is missing.

Sidero Metal requires IPMI to handle reboot/reset/wipe of the machines.

Is there a way to have software reboot with Talos API when IPMI isn't available ? because there is the Talos cert is in CAPI.
If yes, I can try to make a PR

I opened a discussion here about alternative if BMC can't be use:

I push a draft PR here #1312