BBlack has submitted this change and it was merged.

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(-)

Approvals:
  BBlack: Verified; Looks good to me, approved



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: merged
Gerrit-Change-Id: Ib1f39f33aeeca0e6338a1c5d7fbca2bf6e763a4c
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>
Gerrit-Reviewer: BBlack <bbl...@wikimedia.org>

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

Reply via email to