Task-related: T305589#7837933. Duplicating comment here for tracking purposes:
In T305589#7837933, @Volans wrote:In T305589#7837526, @fgiunchedi wrote:AIUI the decom cookbook doesn't support VMs yet (?)
That's not actually correct, the decommission cookbook does support VMs since the start.
What is missing is that the makevm cookbook doesn't do yet the completion of the installation with the puppet runs and such.
My idea would be to complete that part so that makevm can automate the whole process of creating a new VM.
At that point there will be two options:
- sre.ganeti.reimage with the same hostname (and we could make adjustments to keep the same IP too). That will be logically equivalent to a physical hardware reimage, including the downtime of the host.
- makevm with a new name and IPs + decommission of the old VM. That will be logically equivalent to a physical hardware refresh (getting new hardware), including the possibility to bring the new host up before decommissioning the old one.