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.
This commit is contained in:
Joshua Boniface 2021-01-28 16:25:02 -05:00
parent 9fbe35fd24
commit a44f134230
1 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,7 @@
[Unit] [Unit]
Description = Parallel Virtual Cluster node daemon Description = Parallel Virtual Cluster node daemon
After = network-online.target zookeeper.service libvirtd.service After = network-online.target
Wants = zookeeper.service libvirtd.service
PartOf = pvc.target PartOf = pvc.target
[Service] [Service]