Skip to content

Instantly share code, notes, and snippets.

@rcreasey
Last active August 29, 2015 14:25
Show Gist options
  • Save rcreasey/5cb04a8122a2c1247029 to your computer and use it in GitHub Desktop.
Save rcreasey/5cb04a8122a2c1247029 to your computer and use it in GitHub Desktop.
#cloud-config
---
coreos:
etcd2:
advertise-client-urls: http://$public_ipv4:2379
initial-advertise-peer-urls: http://$public_ipv4:2380
listen-client-urls: http://$public_ipv4:2379
listen-peer-urls: http://$public_ipv4:2380
initial-cluster-state: new
Jul 15 21:48:15 core01 systemd[1]: Starting etcd2...
Jul 15 21:48:15 core01 etcd2[793]: 2015/07/15 21:48:15 etcd: listening for peers on http://:2380
Jul 15 21:48:15 core01 etcd2[793]: 2015/07/15 21:48:15 etcd: listening for client requests on http://:2379
Jul 15 21:48:15 core01 etcd2[793]: 2015/07/15 21:48:15 etcdserver: datadir is valid for the 2.0.1 format
Jul 15 21:48:15 core01 etcd2[793]: 2015/07/15 21:48:15 etcd: stopping listening for client requests on http://:2379
Jul 15 21:48:15 core01 etcd2[793]: 2015/07/15 21:48:15 etcd: stopping listening for peers on http://:2380
Jul 15 21:48:15 core01 etcd2[793]: 2015/07/15 21:48:15 etcd: 302240ca52eb44ab9b88852b1a169aaf has different advertised URLs in the cluster and advertised peer URLs list
Jul 15 21:48:15 core01 systemd[1]: etcd2.service: main process exited, code=exited, status=1/FAILURE
rcreasey@core01 ~ $ etcdctl -C http://10.40.179.225:2379/ member list
b952fa0cc3bd0610: name=etcd0 peerURLs=http://10.40.179.225:2380 clientURLs=http://10.40.179.225:2379,http://10.40.179.225:4001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment