Hello,

I have used Mesosphere Zookeeper RPM and it uses After=network.target in its
zookeeper.service systemd unit file. This doesn't guarantee that Zookeeper
service will start after network is available. To ensure this
After=network-online.target should be used. I spent some time with this when
Zookeeper was disconnected after reboots because of delays during reboot on
my VMs. If Centos starts up fast, which it typically does on a clean
install, it doesn't manifest as a problem. Actually I have experienced it on
RHEL with some custom company layer on top which introduced these delays.

 

I would recommend to change it to avoid some bad user experience with slow
VMs. As well I think it is better for production. Or are there any reasons
why not?

 

I used mesosphere-zookeeper.x86_64 3.4.6-0.1.20141204175332.centos7 version.

 

Regards,

Petr

 

 

Reply via email to