https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Bug ID: 1043158 Summary: zookeeper-server service silently fails while starting on FC20 Product: Fedora Version: 20 Component: zookeeper Assignee: tstclair@redhat.com Reporter: rudcy@broadbandninja.com QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, jeff@ocjtech.us, skottler@redhat.com, tstclair@redhat.com
Description of problem: zookeeper-server on fc20 silently fails to start after a fresh install due to unit file precondition on missing file .
Version-Release number of selected component (if applicable):
zookeeper-server-3.4.5-12.fc20.noarch
Steps to Reproduce: 1. Fresh install of fc20 2. install zookeeper-server (and zookeeper?) 3. sudo cp /etc/zoo-sample.cfg /etc/zoo.cfg 4. sudo systemctl start zookeeper 5. journalctl -f shows: ``` Dec 14 14:18:32 localhost.localdomain systemd[1]: Started Apache ZooKeeper.
```
Actual results: The service has aborted when trying to start, the errors it reported are not logged to the journal nor /var/log/zookeeper/*
Expected results: the service should be running, or log an error to the journal.
Additional info: ``` % cat /usr/lib/systemd/system/zookeeper.service ... ConditionPathExists=/var/lib/zookeeper/data/myid ```
Creating /var/lib/zookeeper/data/myid and chowning it over to zookeeper makes the next restart "stick" and zookeeper then logs to the journal (too verbosely, btw).
I've found nothing on setting up zookeeper-server on fedora on google, but I'm new here, I may have missed it. So no docs on what is myid or what's it for, zookeeper runs fine without it if it's launched manually.
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Hiroaki KAWAI kawai@stratosphere.co.jp changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kawai@stratosphere.co.jp
--- Comment #1 from Hiroaki KAWAI kawai@stratosphere.co.jp --- I think myid is a typo ``` ConditionPathExists=/var/lib/zookeeper/data ```
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
--- Comment #2 from Hiroaki KAWAI kawai@stratosphere.co.jp --- myid is used with clustered setup. http://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html#sc_zkMulitServerSe...
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Eetu Huisman eh@iki.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eh@iki.fi
--- Comment #3 from Eetu Huisman eh@iki.fi --- The RPM claims to include both /etc/zookeeper/zoo.cfg and /var/lib/zookeeper/data/myid, neither of which is actually installed by it.
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Eoghan Glynn eglynn@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|unspecified |high CC| |eglynn@redhat.com Flags| |needinfo?(tstclair@redhat.c | |om) Severity|unspecified |high
--- Comment #4 from Eoghan Glynn eglynn@redhat.com --- I've been impacted by this same issue when attempting to use zookeeper with the openstack-ceilometer RDO packages for Juno.
Can we get some traction on a fix from the package maintainer?
[1] https://openstack.redhat.com/RDO_test_day_Juno_milestone_3
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Timothy St. Clair tstclair@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Flags|needinfo?(tstclair@redhat.c | |om) |
--- Comment #5 from Timothy St. Clair tstclair@redhat.com --- My plan is to update to 3.4.6, work has already been in-progress.
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- zookeeper-3.4.6-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/zookeeper-3.4.6-1.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
--- Comment #7 from Timothy St. Clair tstclair@redhat.com --- I revamped the entire package and updated to use ivy-local resolver, which is only available in f22.
F21 currently has issues around objectweb-asm which are a result of the fedora-java modifications.
It is possible to rebuild the zookeeper-3.4.6-package on f20 but you need to install the fedora 21 - javapackages-tools.
Updated builds have been tested, using the following instructions:
https://cwiki.apache.org/confluence/display/solr/Setting+Up+an+External+ZooK...
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Eetu Huisman eh@iki.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|eh@iki.fi |
--- Comment #8 from Timothy St. Clair tstclair@redhat.com --- revised: ivy-local resolver, which is only available in f21.
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- Package zookeeper-3.4.6-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing zookeeper-3.4.6-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-13460/zookeeper-3.4.6-1.... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Fedora Java SIG java-sig-commits@lists.fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|java-sig-commits@lists.fedo | |raproject.org |
--- Comment #10 from Fedora End Of Life endoflife@fedoraproject.org --- This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
java-sig-commits@lists.fedoraproject.org