Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/60768


Change subject: apache-sanity-check (part of apache-graceful-all) change the 
regex to also restart API servers
......................................................................

apache-sanity-check (part of apache-graceful-all)
change the regex to also restart API servers

this should make the apache-graceful-all output clean again,
no more "System failed sanity check" messages.

that is because API servers have VIPs ending in .22 and they
are in dsh groups, so they were NOT restarted. but we want
them to be restarted per email discussion in March

the .21 is actually for rendering servers, but noone actually use it
yet.

1       1H      IN PTR  appservers.svc.eqiad.wmnet.
...
21      1H      IN PTR  rendering.svc.eqiad.wmnet.
22      1H      IN PTR  api.svc.eqiad.wmnet.

Change-Id: I49324bc453c35103359f583472d317e583072c5c
---
M apache-sanity-check
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/operations/debs/wikimedia-task-appserver 
refs/changes/68/60768/1

diff --git a/apache-sanity-check b/apache-sanity-check
index fea1b38..60651d8 100644
--- a/apache-sanity-check
+++ b/apache-sanity-check
@@ -8,7 +8,7 @@
 export PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 # FIXME: move this to PyBal runcommand check, and/or replace with Puppet logic.
-VIP="10\\.2\\.[1-2]\\.\(1\|21\)"
+VIP="10\\.2\\.[1-2]\\.\(1\|22\)"
 if ! /sbin/ip addr | grep -q "$VIP.*lo"; then
        echo "System failed sanity check: VIP not configured on lo"
        exit 1

-- 
To view, visit https://gerrit.wikimedia.org/r/60768
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I49324bc453c35103359f583472d317e583072c5c
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/wikimedia-task-appserver
Gerrit-Branch: master
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to