I just did I pull. I'm up to date with:
commit a563d82f95d60c6f3ddf3619ed150e09856daf2f
Merge: 9af9438 c7116a3
Author: Yicheng Qin <
qycqycq...@gmail.com>
Date: Tue Apr 22 14:55:17 2014 -0700
Merge pull request #752 from unihorn/75
fix(server): dispatch SetClusterConfigCommand correctly
When I rebuild and run your script with the new build, I get the following. I assume that's what I'm supposed to be seeing? But, I'm still seeing the server bind to the wildcard address, as I mentioned in my previous email.
$ sh go2
[etcd] Apr 23 15:42:20.306 INFO | etcd server [name machine3, listen on :4003, advertised url
http://127.0.0.1:4003]
[etcd] Apr 23 15:42:20.306 INFO | etcd server [name machine2, listen on :4002, advertised url
http://127.0.0.1:4002]
[etcd] Apr 23 15:42:20.309 INFO | etcd server [name machine1, listen on :4001, advertised url
http://127.0.0.1:4001]
[etcd] Apr 23 15:42:20.310 WARNING | Attempt to join via
127.0.0.1:7001 failed: Error during join version check: Get
http://127.0.0.1:7001/version: dial tcp
127.0.0.1:7001: connection refused
[etcd] Apr 23 15:42:20.311 WARNING | Attempt to join via
127.0.0.1:7002 failed: Error during join version check: Get
http://127.0.0.1:7002/version: dial tcp
127.0.0.1:7002: connection refused
[etcd] Apr 23 15:42:20.311 WARNING | machine3 is unable to join the cluster using any of the peers [
127.0.0.1:7001 127.0.0.1:7002] at 0th time. Retrying in 3.4 seconds
[etcd] Apr 23 15:42:20.312 INFO | machine1 is starting a new cluster.
[etcd] Apr 23 15:42:20.313 INFO | machine1: state changed from 'initialized' to 'follower'.
[etcd] Apr 23 15:42:20.313 INFO | machine1: state changed from 'follower' to 'leader'.
[etcd] Apr 23 15:42:20.313 INFO | machine1: leader changed from '' to 'machine1'.
[etcd] Apr 23 15:42:20.314 WARNING | Attempt to join via
127.0.0.1:7001 failed: Error during join version check: Get
http://127.0.0.1:7001/version: dial tcp
127.0.0.1:7001: connection refused
[etcd] Apr 23 15:42:20.314 WARNING | Attempt to join via
127.0.0.1:7003 failed: Error during join version check: Get
http://127.0.0.1:7003/version: dial tcp
127.0.0.1:7003: connection refused
[etcd] Apr 23 15:42:20.314 WARNING | machine2 is unable to join the cluster using any of the peers [
127.0.0.1:7001 127.0.0.1:7003] at 0th time. Retrying in 4.8 seconds
[etcd] Apr 23 15:42:20.324 INFO | peer server [name machine1, listen on :7001, advertised url
http://127.0.0.1:7001]
[etcd] Apr 23 15:42:23.312 INFO | Send Join Request to
http://127.0.0.1:7001/v2/admin/machines/machine3
[etcd] Apr 23 15:42:23.313 INFO | machine1: peer added: 'machine3'
[etcd] Apr 23 15:42:23.320 INFO | »»»» 200
[etcd] Apr 23 15:42:23.321 INFO | machine3: state changed from 'initialized' to 'follower'.
[etcd] Apr 23 15:42:23.321 INFO | peer server [name machine3, listen on :7003, advertised url
http://127.0.0.1:7003]
[etcd] Apr 23 15:42:23.368 INFO | machine3: peer added: 'machine1'
[etcd] Apr 23 15:42:24.315 INFO | Send Join Request to
http://127.0.0.1:7001/v2/admin/machines/machine2
[etcd] Apr 23 15:42:24.369 INFO | machine1: peer added: 'machine2'
[etcd] Apr 23 15:42:24.375 INFO | »»»» 200
[etcd] Apr 23 15:42:24.376 INFO | machine2: state changed from 'initialized' to 'follower'.
[etcd] Apr 23 15:42:24.376 INFO | peer server [name machine2, listen on :7002, advertised url
http://127.0.0.1:7002]
[etcd] Apr 23 15:42:24.413 INFO | machine3: peer added: 'machine2'
[etcd] Apr 23 15:42:24.425 INFO | machine2: peer added: 'machine1'
[etcd] Apr 23 15:42:24.430 INFO | machine2: peer added: 'machine3'
{"action":"set","node":{"key":"/foo","value":"bar","modifiedIndex":4,"createdIndex":4}}machine3 is killed
[etcd] Apr 23 15:42:30.377 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.413 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.463 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.513 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.563 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.613 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.663 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.713 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.763 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.813 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.863 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.913 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:30.963 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.013 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.063 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.113 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.163 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.213 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.263 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.313 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.363 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.413 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.463 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.513 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.563 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.613 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.663 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.713 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.763 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.813 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.863 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.913 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:31.963 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.013 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.063 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.113 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.163 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.213 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.263 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.313 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.363 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.413 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.463 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.513 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.563 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.613 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.663 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.713 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.763 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.813 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.863 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.913 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:32.963 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.013 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.063 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.113 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.163 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.213 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.263 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.313 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.363 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.413 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.463 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.513 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.563 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.613 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.663 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.713 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.763 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.813 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.863 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.913 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:33.963 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.013 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.063 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.113 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.163 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.213 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.263 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.313 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.363 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.413 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.463 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.513 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.563 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.613 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.663 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.713 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.763 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.813 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.863 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.913 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:34.963 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.013 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.063 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.113 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.163 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.213 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.263 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.313 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.363 INFO | machine1: warning: heartbeat timed out: 'machine3'
machine3 is restarted
[etcd] Apr 23 15:42:35.381 INFO | etcd server [name machine3, listen on :4003, advertised url
http://127.0.0.1:4003]
[etcd] Apr 23 15:42:35.383 INFO | machine3: peer added: 'machine1'
[etcd] Apr 23 15:42:35.395 INFO | machine3: peer added: 'machine2'
[etcd] Apr 23 15:42:35.401 INFO | Peer URLs in log: / machine3 (
http://127.0.0.1:7001,
http://127.0.0.1:7003,
http://127.0.0.1:7002)
[etcd] Apr 23 15:42:35.402 INFO | Send Join Request to
http://127.0.0.1:7001/v2/admin/machines/machine3
[etcd] Apr 23 15:42:35.462 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.463 INFO | machine1: warning: heartbeat timed out: 'machine3'
[etcd] Apr 23 15:42:35.468 INFO | »»»» 200
[etcd] Apr 23 15:42:35.468 INFO | machine3: state changed from 'initialized' to 'follower'.
[etcd] Apr 23 15:42:35.468 INFO | peer server [name machine3, listen on :7003, advertised url
http://127.0.0.1:7003]
{"action":"get","node":{"key":"/foo","value":"bar","modifiedIndex":4,"createdIndex":4}}etcd@etc3:~$
On Apr 23, 2014, at 11:07 AM, Roy Smith wrote:
> OK, I'm going to rebuild from HEAD and try this all again. I'll let you know how that goes.
---
Roy Smith
r...@panix.com