These two servers (mw2017 & mw2099) are the codfw test servers, and have be converted to VMs. mw2099 seems to have been decommissioned via another task already, so this just covers mw2017.
mw2017:
[x] - all system services confirmed offline from production use
[x] - set all icinga checks to maint mode/disabled while reclaim/decommmission takes place.
[x] - remove system from all lvs/pybal active configuration
[x] - any service group puppet/hiera/dsh config removed
[x] - remove site.pp (replace with role::spare::system if system isn't shut down immediately during this process.)
START NON-INTERRUPPTABLE STEPS
[x] - disable puppet on host
[x] - power down host
[x] - disable switch port
[x] - switch port assignment noted on this task (for later removal) asw-a-cofw:ge-3/0/16
[x] - remove all remaining puppet references (include role::spare)
[x] - remove production dns entries
[x] - puppet node clean, puppet node deactivate
[x] - remove dbmonitor entries on neodymium/sarin: sudo curl -X DELETE https://debmonitor.discovery.wmnet/hosts/${HOST_FQDN} --cert /etc/debmonitor/ssl/cert.pem --key /etc/debmonitor/ssl/server.key
END NON-INTERRUPPTABLE STEPS
[] - system disks wiped (by onsite)
[] - IF DECOM: system unracked and decommissioned (by onsite), update racktables with result
[] - IF DECOM: switch port configration removed from switch once system is unracked.
[] - IF DECOM: add system to decommission tracking google sheet
[] - IF DECOM: mgmt dns entries removed.