sidero icon indicating copy to clipboard operation
sidero copied to clipboard

Reboot server after un-allocate

Open aarnaud opened this issue 1 year ago • 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 https://github.com/siderolabs/sidero/issues/146 but it seem the reboot is missing.

aarnaud avatar Jan 18 '24 21:01 aarnaud

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

smira avatar Jan 22 '24 10:01 smira

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

aarnaud avatar Jan 22 '24 14:01 aarnaud

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

aarnaud avatar Jan 31 '24 16:01 aarnaud

I push a draft PR here https://github.com/siderolabs/sidero/pull/1312

aarnaud avatar Feb 08 '24 19:02 aarnaud