Giuseppe Lavagetto has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/switchdc 
refs/changes/42/347342/1

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: newchange
Gerrit-Change-Id: Iada0997041e9281de681da8ce4d97e79adeed427
Gerrit-PatchSet: 1
Gerrit-Project: operations/switchdc
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to