-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/sbin/start zookeeper failed to start job #53
Comments
Which distribution do you use? Could you check system logs or ZooKeeper logs? It might be either problem with writing to datastore or the way how Puppet tries to start service is not supported on your distribution. |
I do not see any logs being created in the /var/log/zookeeper folder. I am including the syslog here Here is the puppetprovisioning log showing the zookeeper error The distribution I am using ubuntu 14.04. Here is the link to the code repo which I am trying: |
I'd be worried most about this syslog line:
Exit code Ubuntu's pre-start script might look like this (correct me if I'm wrong):
It's quite strange that it would end up in this block. Could you check your |
Hi. I also tested it with the latest puppet-zookeeper v0.5.1 and I am still getting the same error. |
There seems to be a problem with mixing different service start mechanisms. There's a certain level of schizophrenia in Ubuntu services. On a clean install:
and at the same time init.d is not aware of the service:
So, the process was started by upstart and it's running:
Anyway the real problem is here
|
So, the problem is in hiera config, instead of using:
so it should be just (or preferably just IP addresses):
The listing of all servers is complicated. But currently I'm not aware of any mechanism in Puppet that would make this easier and reliable (see #18). At least we can try to strip server name before |
Hi @deric thanks for looking into this. So hiera configuration is the one that is causing the zookeeper service to not start in this case? |
Yes, but with current config ZooKeeper will probably start in read-only mode. I'm still not sure whether Puppet manages ZooKeeper service reliably on Ubuntu. As far as your Vagrant file is concerned, you should enable all 3 servers in order to have fully functional ZooKeeper cluster. Make sure that |
I got following error when starting the zookeeper.
The text was updated successfully, but these errors were encountered: