Unit etcd.service entered failed state

1,970 views
Skip to first unread message

Rahul Gopan

unread,
Sep 20, 2014, 8:40:50 AM9/20/14
to etcd...@googlegroups.com
etcd failes to load on start up

systemctl status etcd

---------------------------------------------

core@coreos2 ~ $ systemctl status etcd
â etcd.service - etcd
   Loaded: loaded (/usr/lib64/systemd/system/etcd.service; disabled)
  Drop-In: /run/systemd/system/etcd.service.d
           ââ20-cloudinit.conf
   Active: activating (auto-restart) (Result: exit-code) since Sat 2014-09-20 12:28:16 UTC; 2s ago
  Process: 763 ExecStart=/usr/bin/etcd (code=exited, status=1/FAILURE)
 Main PID: 763 (code=exited, status=1/FAILURE)

Sep 20 12:28:16 coreos2 systemd[1]: etcd.service: main process exited, code=exited, status=1/FAILURE
Sep 20 12:28:16 coreos2 systemd[1]: Unit etcd.service entered failed state.

---------------------------------------------------

journalctl -u etcd -f


core@coreos2 ~ $ journalctl -u etcd -f
-- Logs begin at Mon 2014-09-15 13:42:08 UTC. --
Sep 20 12:28:16 coreos2 etcd[763]: [etcd] Sep 20 12:28:16.223 CRITICAL  | failed sanitizing configuration: Advertised URL: parse :4001: missing protocol scheme
Sep 20 12:28:16 coreos2 systemd[1]: etcd.service: main process exited, code=exited, status=1/FAILURE
Sep 20 12:28:16 coreos2 systemd[1]: Unit etcd.service entered failed state.
Sep 20 12:28:26 coreos2 systemd[1]: etcd.service holdoff time over, scheduling restart.
Sep 20 12:28:26 coreos2 systemd[1]: Stopping etcd...
Sep 20 12:28:26 coreos2 systemd[1]: Starting etcd...
Sep 20 12:28:26 coreos2 systemd[1]: Started etcd.
Sep 20 12:28:26 coreos2 etcd[770]: [etcd] Sep 20 12:28:26.476 CRITICAL  | failed sanitizing configuration: Advertised URL: parse :4001: missing protocol scheme
Sep 20 12:28:26 coreos2 systemd[1]: etcd.service: main process exited, code=exited, status=1/FAILURE
Sep 20 12:28:26 coreos2 systemd[1]: Unit etcd.service entered failed state.

-------------------------------------------------------

Can anyone tell me where I am getting it wrong??

Thanks Rahul

Jonathan Boulle

unread,
Sep 22, 2014, 2:24:55 PM9/22/14
to Rahul Gopan, etcd...@googlegroups.com

On Sat, Sep 20, 2014 at 5:40 AM, Rahul Gopan <rahul...@gmail.com> wrote:
CRITICAL  | failed sanitizing configuration: Advertised URL: parse :4001: missing protocol scheme

This is the issue. It looks like your cloud-config is not providing a valid address to etcd. What does it look like and what platform are you running on?
Reply all
Reply to author
Forward
0 new messages