ReleaseEngineering/How To/Decommission Slave: Difference between revisions

Fixed identation (2)
No edit summary
(Fixed identation (2))
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
There are a few steps that need to be followed here in order to decommission a slave.
There are a few steps that need to be followed here in order to decommission a slave.


The list of slaves in DB is available here (https://secure.pub.build.mozilla.org/slavealloc/ui/#slaves)
* Disable the slave in Slavealloc: https://secure.pub.build.mozilla.org/slavealloc/ui/#slaves
* Make sure it's no longer attached to a master
* Shut down the slave
* Remove it from Nagios
** From puppet sysadmin repository (modules/nagios4/manifests/prod/releng/scl3.pp)
* Remove it from Inventory
** DCOps must mark these machines as decommissioned
* Remove it from buildbot-configs
** mozilla-tests/production_config.py  or mozilla/production_config.py
* Finally, remove that slave from buildslaves DB


* In order to decommission a slave the bellow steps must be taken in this order:
= Useful bug examples =
** Disable slave from production
* Bug [https://bugzilla.mozilla.org/show_bug.cgi?id=1402830 1396454]
** Make sure is no longer attach to a master
* Bug [https://bugzilla.mozilla.org/show_bug.cgi?id=1402830 1402830]
** Remove from Nagios
*** From puppet sysadmin repository (modules/nagios4/manifests/prod/releng/scl3.pp)
** Remove from Inventory
*** People from DCOps team must mark these machines as decommissioned
** Remove from buildbot-configs
*** mozilla-tests/production_config.py  or mozilla/production_config.py
**  Remove from DB 
 
= Usefull bug examples =
* Bug 1396454
148

edits