The bastions in the caches sites are now running on VMs, as such bast3004 will be repurposed as a Ganeti node (the cluster in esams only had three nodes ATM). This follows the procedure outlined at https://wikitech.wikimedia.org/wiki/Server_Lifecycle#Rename_while_reimaging :
- Decom bast3004
- Edit the device page to set the new name (use the hostname, not the FQDN) and set its status from DECOMMISSIONING to PLANNED.
- Rename the DNS Name of all its IPs (there should be only the management IP at this stage)
- Delete the interfaces and use the netbox script to provision them again
- Add VLANs for Ganeti
- Run the sre.dns.netbox cookbook: DNS/Netbox#Update_generated_records
- Run the sre.network.configure-switch-interfaces cookbook in order to configure the switch interface
- Install as ganeti3004
- Add ganeti3004 to the esams Ganeti cluster
- Get the physical re-labeling done (open a task for dc-ops)