Volans has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/347342 )
Change subject: Actually select parsoid hosts when doing a rolling restart
......................................................................
Actually select parsoid hosts when doing a rolling restart
Change-Id: Iada0997041e9281de681da8ce4d97e79adeed427
---
M switchdc/stages/t09_restart_parsoid.py
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Volans: Looks good to me, approved
diff --git a/switchdc/stages/t09_restart_parsoid.py
b/switchdc/stages/t09_restart_parsoid.py
index 1062cda..555811c 100644
--- a/switchdc/stages/t09_restart_parsoid.py
+++ b/switchdc/stages/t09_restart_parsoid.py
@@ -5,6 +5,8 @@
def execute(dc_from, dc_to):
from_servers = Remote(site=dc_from)
+ from_servers.select('R:class = role::parsoid')
from_servers.sync('restart-parsoid', batch_size=1, batch_sleep=15.0)
to_servers = Remote(site=dc_to)
+ to_servers.select('R:class = role::parsoid')
to_servers.sync('restart-parsoid', batch_size=1, batch_sleep=15.0)
--
To view, visit https://gerrit.wikimedia.org/r/347342
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iada0997041e9281de681da8ce4d97e79adeed427
Gerrit-PatchSet: 1
Gerrit-Project: operations/switchdc
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Volans <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits