ReleaseEngineering/How To/Decommission buildbot masters: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Updated instructions on how to decomm a bb master)
(Updated instructions on how to decomm a bb master(2))
 
Line 3: Line 3:
* disable the master in Slavealloc: https://secure.pub.build.mozilla.org/slavealloc/ui/#masters
* disable the master in Slavealloc: https://secure.pub.build.mozilla.org/slavealloc/ui/#masters
* shutdown it down to prevent Puppet from spamming us
* shutdown it down to prevent Puppet from spamming us
* remove it from Puppet (hg.mozilla.org/build/puppet/)
* remove it from [https://hg.mozilla.org/build/puppet/ puppet] repository
** manifests/moco-nodes.pp
** manifests/moco-nodes.pp
* remove the master from sysadmin Puppet repository ( git-internal.mozilla.org/sysadmins/puppet.git)
* remove the master from sysadmin Puppet repository (git-internal.mozilla.org/sysadmins/puppet.git)
** modules/nagios4/manifests/prod/releng/scl3.pp
** modules/nagios4/manifests/prod/releng/scl3.pp
* remove it from tools repository (/hg.mozilla.org/build/tools)
* remove it from [https://hg.mozilla.org/build/tools tools] repository
** buildfarm/maintenance/production-masters.json
** buildfarm/maintenance/production-masters.json
* delete the master from buildslaves DB  
* delete the master from buildslaves DB  

Latest revision as of 15:50, 20 November 2017

There are a few steps required to decommission a buildbot master.

  • disable the master in Slavealloc: https://secure.pub.build.mozilla.org/slavealloc/ui/#masters
  • shutdown it down to prevent Puppet from spamming us
  • remove it from puppet repository
    • manifests/moco-nodes.pp
  • remove the master from sysadmin Puppet repository (git-internal.mozilla.org/sysadmins/puppet.git)
    • modules/nagios4/manifests/prod/releng/scl3.pp
  • remove it from tools repository
    • buildfarm/maintenance/production-masters.json
  • delete the master from buildslaves DB
  • once our part of the process is done, we'll also need to file a bug against MOC:Service Requests for decommissioning that master

Useful bug examples