ReleaseEngineering/How To/Restart Buildbot Masters: Difference between revisions

Jump to navigation Jump to search
no edit summary
(in all_logs are saved all the actions that are done when restarting the masters)
No edit summary
Line 24: Line 24:


The script is setup to run on buildduty-tools.srv.releng.usw2.mozilla.com in a venv under buildduty's account ,the venv is set on this path: /home/buildduty/restart_masters and the script  restart_masters.sh is located in /home/buildduty({{bug|1299421}}).
The script is setup to run on buildduty-tools.srv.releng.usw2.mozilla.com in a venv under buildduty's account ,the venv is set on this path: /home/buildduty/restart_masters and the script  restart_masters.sh is located in /home/buildduty({{bug|1299421}}).
Important notes:
Before restarting the masters the script make sure that:
-a patch is added to the "tools" repository so that logs can be seen in /home/buildduty/restart_masters/tools/buildfarm/maintanance/all_logs.txt and some libraries are imported.
-comment configs from /home/buildduty/.ssh/config that are setup in puppet which prevent all buildduty users to connect with password to other servers (Host *mozilla.com *mozilla.org BatchMode yes)


Here is an example invocation:
Here is an example invocation:
80

edits

Navigation menu