From a44f1342309714a309c25fb6ef1746618e6f1418 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 28 Jan 2021 16:25:02 -0500 Subject: [PATCH] Remove systemd deps on zookeeper and libvirt This caused a serious race condition, since the IPs managed by PVC had not yet come up, but Zookeeper was trying to start and bind to them, which of course failed. Remove these dependencies entirely - the daemon itself starts these services during initialization and they do not need to be started by systemd first. --- node-daemon/pvcnoded.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node-daemon/pvcnoded.service b/node-daemon/pvcnoded.service index 855120e3..3a89ac8b 100644 --- a/node-daemon/pvcnoded.service +++ b/node-daemon/pvcnoded.service @@ -2,8 +2,7 @@ [Unit] Description = Parallel Virtual Cluster node daemon -After = network-online.target zookeeper.service libvirtd.service -Wants = zookeeper.service libvirtd.service +After = network-online.target PartOf = pvc.target [Service]