Closed Bug 1130408 Opened 10 years ago Closed 10 years ago

Move the deploy script restart-jobs calls outside of the hostgroups loops

Categories

(Tree Management :: Treeherder: Infrastructure, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

Broken out from bug 1079270 comment 32.
Attachment #8560593 - Flags: review?(klibby)
Comment on attachment 8560593 [details] [review] Only call restart-jobs once per hostgroup We might want to move the graceful apache kick over to the restart-jobs script; it shouldn't cause problems as-is, but it's decoupled from the node draining bits and might cause confusion down the road.
Attachment #8560593 - Flags: review?(klibby) → review+
Commit pushed to master at https://github.com/mozilla/treeherder-service https://github.com/mozilla/treeherder-service/commit/7fa4e973b21f30411e923d9442fec72174d8ae79 Bug 1130408 - deploy: Only call restart-jobs once per hostgroup The @hostgroups decorator was causing us to call restart-jobs multiple times (once for each host within a host group), when we only want to call it once per group of hosts. Abstracting the restart-jobs call to its own method also means the IRC bot will output "restart_jobs complete" after each restart-jobs call, making the progress through the deployment task clearer.
(In reply to Kendall Libby [:fubar] from comment #2) > We might want to move the graceful apache kick over to the restart-jobs > script; it shouldn't cause problems as-is, but it's decoupled from the node > draining bits and might cause confusion down the road. Yeah agree, I'll file a new bug :-)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: