Description of problem: etcd service does not start on f21 server And I get following logs: systemctl status etcd ● etcd.service - Etcd Server Loaded: loaded (/usr/lib/systemd/system/etcd.service; enabled) Active: failed (Result: exit-code) since Tue 2015-03-10 12:06:50 EDT; 24min ago Process: 721 ExecStart=/usr/bin/etcd (code=exited, status=1/FAILURE) Main PID: 721 (code=exited, status=1/FAILURE) Mar 10 12:06:50 localhost.localdomain systemd[1]: etcd.service: main process exited, code=exited, status=1/FAILURE Mar 10 12:06:50 localhost.localdomain systemd[1]: Unit etcd.service entered failed state. Mar 10 12:06:50 localhost.localdomain systemd[1]: etcd.service failed. [root@localhost ~]# journalctl -b -u etcd -- Logs begin at Mon 2015-03-09 14:20:10 EDT, end at Tue 2015-03-10 12:31:37 EDT. -- Mar 10 12:06:50 localhost.localdomain systemd[1]: etcd.service: main process exited, code=exited, status=1/FAILURE Mar 10 12:06:50 localhost.localdomain systemd[1]: Unit etcd.service entered failed state. Mar 10 12:06:50 localhost.localdomain systemd[1]: etcd.service failed. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Install a fedora 21 server vm from http://download.devel.redhat.com/released/F-21/GOLD/Server/x86_64/os/ 2. Install etcd 3. run etcd as follows: systemctl start etcd Actual results: Error Expected results: Working etcd service. Additional info: Manual /bin/etcd starts a service so not sure if everything is fine with the running service.
Found a couple of problems. #1 we were still setting std_out == null in the service file. #2 we were not setting a workingdir= && we were not shipping a config file in /etc, so it was trying to use /default.etcd, and obviously didn't have permission to create that dir.
Hi Avesh, is the etcd functioning now?
Jan, yes. It is working now.
etcd-2.0.3-0.2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/etcd-2.0.3-0.2.fc20
etcd-2.0.3-0.2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/etcd-2.0.3-0.2.fc21
etcd-2.0.3-0.2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/etcd-2.0.3-0.2.fc22
Package etcd-2.0.3-0.2.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 etcd-2.0.3-0.2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-3856/etcd-2.0.3-0.2.fc21 then log in and leave karma (feedback).
etcd-2.0.3-0.2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
etcd-2.0.3-0.2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
etcd-2.0.3-0.2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.