ReleaseEngineering/How To/Decommission Slave: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Fixed identation)
(Fixed identation)
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.
* Disable the slave in Slavealloc: https://secure.pub.build.mozilla.org/slavealloc/ui/#slaves
 
* Make sure it's no longer attached to a master
** Disable the slave in Slavealloc: https://secure.pub.build.mozilla.org/slavealloc/ui/#slaves
* Shut down the slave  
** Make sure it's no longer attached to a master
* Remove it from Nagios  
** Shut down the slave  
** From puppet sysadmin repository (modules/nagios4/manifests/prod/releng/scl3.pp)
** Remove it from Nagios  
* Remove it from Inventory  
*** From puppet sysadmin repository (modules/nagios4/manifests/prod/releng/scl3.pp)
** DCOps must mark these machines as decommissioned
** Remove it from Inventory  
* Remove it from buildbot-configs  
*** DCOps must mark these machines as decommissioned
** mozilla-tests/production_config.py  or mozilla/production_config.py
** Remove it from buildbot-configs  
* Finally, remove that slave from buildslaves DB
*** mozilla-tests/production_config.py  or mozilla/production_config.py
** Finally, remove that slave from buildslaves DB


= Useful bug examples =
= Useful bug examples =
* Bug [https://bugzilla.mozilla.org/show_bug.cgi?id=1402830 1396454]
* Bug [https://bugzilla.mozilla.org/show_bug.cgi?id=1402830 1396454]
* Bug [https://bugzilla.mozilla.org/show_bug.cgi?id=1402830 1402830]
* Bug [https://bugzilla.mozilla.org/show_bug.cgi?id=1402830 1402830]

Revision as of 12:19, 30 October 2017

There are a few steps that need to be followed here in order to decommission a slave.

    • 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

Useful bug examples