Skip to content

Instantly share code, notes, and snippets.

@eparis
Created May 21, 2015 22:20
Show Gist options
  • Save eparis/eb0ec9ca6264dfc8254f to your computer and use it in GitHub Desktop.
Save eparis/eb0ec9ca6264dfc8254f to your computer and use it in GitHub Desktop.
# etcdctl get /coreos.com/network/config
{"Network": "4.0.0.0/8", "SubnetLen": 24, "Backend": {"Type": "vxlan"}}
# etcdctl ls /coreos.com/network/subnets
server:
flanneld --etcd-endpoints="http://127.0.0.1:4001" --listen=":8081"
client1:
flanneld --remote="10.12.6.179:8081"
client2:
flanneld --remote="10.12.6.179:8081"
client one log starts outputting:
E0521 18:16:52.717029 01134 watch.go:39] Watch subnets: 400 Bad Request: invalid 'next' value: strconv.ParseUint: parsing "1.094959e 06": invalid syntax
E0521 18:16:53.720514 01134 watch.go:39] Watch subnets: 400 Bad Request: invalid 'next' value: strconv.ParseUint: parsing "1.094959e 06": invalid syntax
server log start outputting:
I0521 18:16:54.552070 00890 http_logger.go:47] GET /_/leases?next=1.094959e+06 - 400
I0521 18:16:55.554402 00890 http_logger.go:47] GET /_/leases?next=1.094959e+06 - 400
I0521 18:16:56.556976 00890 http_logger.go:47] GET /_/leases?next=1.094959e+06 - 400
I0521 18:16:57.560487 00890 http_logger.go:47] GET /_/leases?next=1.094959e+06 - 400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment