Ema has uploaded a new change for review.

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

Change subject: varnish-backend-restart: workaround fallocate issues
......................................................................

varnish-backend-restart: workaround fallocate issues

Wait for the FS to catch up and realize there's enough free space for
fallocate.

Bug: T149881
Change-Id: Ib1f39f33aeeca0e6338a1c5d7fbca2bf6e763a4c
---
M modules/varnish/files/varnish-backend-restart
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/96/319596/1

diff --git a/modules/varnish/files/varnish-backend-restart 
b/modules/varnish/files/varnish-backend-restart
index 3c59587..ca2b96b 100644
--- a/modules/varnish/files/varnish-backend-restart
+++ b/modules/varnish/files/varnish-backend-restart
@@ -12,6 +12,9 @@
 # Restart varnish and wipe storage
 /usr/sbin/service varnish stop
 rm -f /srv/sd*/varnish*
+# Wait for the FS to catch up and realize there's enough free space for
+# fallocate: T149881
+sleep 5
 /usr/sbin/service varnish start
 
 sleep 10

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1f39f33aeeca0e6338a1c5d7fbca2bf6e763a4c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>

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

Reply via email to