Skip to content

Instantly share code, notes, and snippets.

@bprashanth
Last active September 23, 2015 00:35
Show Gist options
  • Save bprashanth/8b605c838117889b2400 to your computer and use it in GitHub Desktop.
Save bprashanth/8b605c838117889b2400 to your computer and use it in GitHub Desktop.
docker-node4$ docker -H unix:///var/run/docker-bootstrap.sock logs <flannel hash>
I0922 15:37:18.064265 00001 main.go:275] Installing signal handlers
I0922 15:37:18.064656 00001 main.go:189] Using 10.240.0.5 as external interface
go-etcd2015/09/22 15:37:18 DEBUG: get /coreos.com/network/config [http://10.240.0.0:4001]
go-etcd2015/09/22 15:37:18 DEBUG: Connecting to etcd: attempt 1 for keys/coreos.com/network/config?quorum=false&recursive=false&sorted=false
go-etcd2015/09/22 15:37:18 DEBUG: send.request.to http://10.240.0.0:4001/v2/keys/coreos.com/network/config?quorum=false&recursive=false&sorted=false | method GET
go-etcd2015/09/22 15:37:18 DEBUG: recv.response.from
go-etcd2015/09/22 15:37:18 DEBUG: recv.success
go-etcd2015/09/22 15:37:18 DEBUG: get /coreos.com/network/config [http://10.240.0.0:4001]
go-etcd2015/09/22 15:37:18 DEBUG: Connecting to etcd: attempt 1 for keys/coreos.com/network/config?quorum=false&recursive=false&sorted=false
go-etcd2015/09/22 15:37:18 DEBUG: send.request.to http://10.240.0.0:4001/v2/keys/coreos.com/network/config?quorum=false&recursive=false&sorted=false | method GET
go-etcd2015/09/22 15:37:18 DEBUG: recv.response.from
go-etcd2015/09/22 15:37:18 DEBUG: recv.success
go-etcd2015/09/22 15:37:18 DEBUG: get /coreos.com/network/subnets [http://10.240.0.0:4001]
go-etcd2015/09/22 15:37:18 DEBUG: Connecting to etcd: attempt 1 for keys/coreos.com/network/subnets?quorum=false&recursive=true&sorted=false
go-etcd2015/09/22 15:37:18 DEBUG: send.request.to http://10.240.0.0:4001/v2/keys/coreos.com/network/subnets?quorum=false&recursive=true&sorted=false | method GET
go-etcd2015/09/22 15:37:18 DEBUG: recv.response.from
go-etcd2015/09/22 15:37:18 DEBUG: recv.success
I0922 15:37:18.069033 00001 etcd.go:212] Picking subnet in range 10.1.1.0 ... 10.1.255.0
go-etcd2015/09/22 15:37:18 DEBUG: put /coreos.com/network/subnets/10.1.103.0-24, {"PublicIP":"10.240.0.5","BackendType":"vxlan","BackendData":{"VtepMAC":"ee:97:5c:81:35:9e"}}, ttl: 86400, [http://10.240.0.0:4001]
go-etcd2015/09/22 15:37:18 DEBUG: Connecting to etcd: attempt 1 for keys/coreos.com/network/subnets/10.1.103.0-24?prevExist=false
go-etcd2015/09/22 15:37:18 DEBUG: send.request.to http://10.240.0.0:4001/v2/keys/coreos.com/network/subnets/10.1.103.0-24?prevExist=false | method PUT
go-etcd2015/09/22 15:37:18 DEBUG: recv.response.from
go-etcd2015/09/22 15:37:18 DEBUG: recv.success
I0922 15:37:18.072152 00001 etcd.go:91] Subnet lease acquired: 10.1.103.0/24
I0922 15:37:18.073067 00001 vxlan.go:153] Watching for L3 misses
I0922 15:37:18.073103 00001 vxlan.go:159] Watching for new subnet leases
go-etcd2015/09/22 15:37:18 DEBUG: get /coreos.com/network/subnets [http://10.240.0.0:4001]
go-etcd2015/09/22 15:37:18 DEBUG: Connecting to etcd: attempt 1 for keys/coreos.com/network/subnets?quorum=false&recursive=true&sorted=false
go-etcd2015/09/22 15:37:18 DEBUG: send.request.to http://10.240.0.0:4001/v2/keys/coreos.com/network/subnets?quorum=false&recursive=true&sorted=false | method GET
go-etcd2015/09/22 15:37:18 DEBUG: recv.response.from
go-etcd2015/09/22 15:37:18 DEBUG: recv.success
I0922 15:37:18.074380 00001 vxlan.go:273] Handling initial subnet events
I0922 15:37:18.074424 00001 device.go:159] calling GetL2List() dev.link.Index: 4
I0922 15:37:18.074538 00001 vxlan.go:280] fdb already populated with: <nil> 33:33:00:00:00:01
I0922 15:37:18.074612 00001 vxlan.go:280] fdb already populated with: <nil> 01:00:5e:00:00:01
go-etcd2015/09/22 15:37:18 DEBUG: rawWatch /coreos.com/network/subnets []
go-etcd2015/09/22 15:37:18 DEBUG: get /coreos.com/network/subnets [http://10.240.0.0:4001]
go-etcd2015/09/22 15:37:18 DEBUG: Connecting to etcd: attempt 1 for keys/coreos.com/network/subnets?recursive=true&wait=true&waitIndex=82
go-etcd2015/09/22 15:37:18 DEBUG: send.request.to http://10.240.0.0:4001/v2/keys/coreos.com/network/subnets?recursive=true&wait=true&waitIndex=82 | method GET
go-etcd2015/09/22 15:37:18 DEBUG: recv.response.from
go-etcd2015/09/22 19:51:56 DEBUG: recv.success
go-etcd2015/09/22 19:51:56 DEBUG: rawWatch /coreos.com/network/subnets []
go-etcd2015/09/22 19:51:56 DEBUG: get /coreos.com/network/subnets [http://10.240.0.0:4001]
go-etcd2015/09/22 19:51:56 DEBUG: Connecting to etcd: attempt 1 for keys/coreos.com/network/subnets?recursive=true&wait=true&waitIndex=82
go-etcd2015/09/22 19:51:56 DEBUG: send.request.to http://10.240.0.0:4001/v2/keys/coreos.com/network/subnets?recursive=true&wait=true&waitIndex=82 | method GET
go-etcd2015/09/22 19:51:56 DEBUG: recv.response.from
go-etcd2015/09/22 19:51:56 DEBUG: recv.success
docker-node4:~$ date
Wed Sep 23 00:29:20 UTC 2015
docker-node4:~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1460 qdisc pfifo_fast state UP group default qlen 1000
link/ether 42:01:0a:f0:00:05 brd ff:ff:ff:ff:ff:ff
inet 10.240.0.5/32 brd 10.240.0.5 scope global eth0
valid_lft forever preferred_lft forever
4: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1410 qdisc noqueue state UNKNOWN group default
link/ether ee:97:5c:81:35:9e brd ff:ff:ff:ff:ff:ff
inet 10.1.103.0/16 scope global flannel.1
valid_lft forever preferred_lft forever
14: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1410 qdisc noqueue state UP group default
link/ether 02:42:c0:6b:46:32 brd ff:ff:ff:ff:ff:ff
inet 10.1.103.1/24 scope global docker0
valid_lft forever preferred_lft forever
16: vethb621ff8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1410 qdisc noqueue master docker0 state UP group default
link/ether 7e:aa:cd:b1:c1:af brd ff:ff:ff:ff:ff:ff
docker-node4:~$ ping 10.1.103.0
PING 10.1.103.0 (10.1.103.0) 56(84) bytes of data.
64 bytes from 10.1.103.0: icmp_seq=1 ttl=64 time=0.040 ms
64 bytes from 10.1.103.0: icmp_seq=2 ttl=64 time=0.057 ms
64 bytes from 10.1.103.0: icmp_seq=3 ttl=64 time=0.051 ms
^C
docker-node4:~$ ps aux | grep docker
root 29001 0.0 0.0 53400 2532 ? S Sep22 0:00 sudo -b docker -d -H unix:///var/run/docker-bootstrap.sock -p /var/run/docker-bootstrap.pid --iptables=false --ip-masq=false --bridge=none --graph=
/var/lib/docker-bootstrap
root 29003 0.0 0.6 454196 24144 ? Sl Sep22 0:05 docker -d -H unix:///var/run/docker-bootstrap.sock -p /var/run/docker-bootstrap.pid --iptables=false --ip-masq=false --bridge=none --graph=/var/lib
/docker-bootstrap
root 29092 0.3 0.9 747144 34528 ? Ssl Sep22 1:38 /usr/bin/docker daemon -H fd:// --mtu=1410 --bip=10.1.103.1/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment