From 5759ecd1b639bf7bb81ab2b781fa332a0fce480b Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 15 Jun 2019 09:11:40 -0700 Subject: [PATCH] openqa/worker: try and avoid failures in the NFS mount I thought just having it WantedBy remote-fs.target should be enough, but in fact this mount often fails on boot, and I forget to check all the worker boxes until a bunch of tests fail and everyone is sad. Let's try After=network-online.target and see if that helps. Signed-off-by: Adam Williamson --- roles/openqa/worker/templates/var-lib-openqa-share.mount.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/openqa/worker/templates/var-lib-openqa-share.mount.j2 b/roles/openqa/worker/templates/var-lib-openqa-share.mount.j2 index 3ec823f460..de99691c48 100644 --- a/roles/openqa/worker/templates/var-lib-openqa-share.mount.j2 +++ b/roles/openqa/worker/templates/var-lib-openqa-share.mount.j2 @@ -1,6 +1,7 @@ [Unit] Description=openQA shared assets ConditionPathExists=/var/lib/openqa/share +After=network-online.target [Mount] What={{ openqa_hostname }}:/var/lib/openqa/share