{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/1638","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/1638/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/1638/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/1638/events","html_url":"https://github.com/weaveworks/weave/issues/1638","id":115212436,"number":1638,"title":"weaveproxy is not able to allocate IP addresses","user":{"login":"kesavkolla","id":274645,"avatar_url":"https://avatars.githubusercontent.com/u/274645?v=3","gravatar_id":"","url":"https://api.github.com/users/kesavkolla","html_url":"https://github.com/kesavkolla","followers_url":"https://api.github.com/users/kesavkolla/followers","following_url":"https://api.github.com/users/kesavkolla/following{/other_user}","gists_url":"https://api.github.com/users/kesavkolla/gists{/gist_id}","starred_url":"https://api.github.com/users/kesavkolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesavkolla/subscriptions","organizations_url":"https://api.github.com/users/kesavkolla/orgs","repos_url":"https://api.github.com/users/kesavkolla/repos","events_url":"https://api.github.com/users/kesavkolla/events{/privacy}","received_events_url":"https://api.github.com/users/kesavkolla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-05T05:30:28Z","updated_at":"2015-11-05T08:26:05Z","closed_at":null,"body":"I'm not able to start any container with weave.  Here are details of my system\r\n\r\n#### docer info\r\n```\r\nContainers: 2\r\nImages: 41\r\nServer Version: 1.9.0\r\nStorage Driver: overlay\r\n Backing Filesystem: extfs\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 4.2.0-16-generic\r\nOperating System: Ubuntu 15.10\r\nCPUs: 24\r\nTotal Memory: 62.91 GiB\r\nName: hotelsoft-local2\r\nID: W3PS:ZWLR:45EY:CBEE:ANMZ:C7E2:UIAV:X2Z2:2Q6F:K2PB:3CES:GLPP\r\nWARNING: No swap limit support\r\n```\r\n\r\n#### weave version\r\n```\r\nweave script 1.2.0\r\nweave router 1.2.0\r\nweave proxy  1.2.0\r\n```\r\n\r\n#### weave status\r\n```\r\n\r\n       Version: 1.2.0\r\n\r\n       Service: router\r\n      Protocol: weave 1..2\r\n          Name: 32:51:fc:ed:2b:14(hotelsoft-local2)\r\n    Encryption: enabled\r\n PeerDiscovery: enabled\r\n       Targets: 0\r\n   Connections: 3 (3 established)\r\n         Peers: 4 (with 12 established connections)\r\n\r\n       Service: ipam\r\n     Consensus: achieved\r\n         Range: [10.32.0.0-10.48.0.0)\r\n DefaultSubnet: 10.32.0.0/12\r\n\r\n       Service: dns\r\n        Domain: weave.local.\r\n           TTL: 1\r\n       Entries: 0\r\n\r\n       Service: proxy\r\n       Address: unix:///var/run/weave/weave.sock\r\n```\r\n\r\n**When I run any container it just hangs**\r\n\r\n```docker run -it --rm phusion/baseimage bash -l```\r\n\r\nThis command just hangs.\r\n\r\nHere is the log of weaveproxy\r\n\r\n```\r\nINFO: 2015/11/05 05:28:15.689494 POST /v1.21/containers/create\r\nINFO: 2015/11/05 05:28:15.689682 Creating container with WEAVE_CIDR \"\"\r\nINFO: 2015/11/05 05:28:15.778038 POST /v1.21/containers/d45ecd3682a9240986d11be855ffe733ee0817a6d6163c1ce0b7b634dd279b51/attach?stderr=1&stdin=1&stdout=1&stream=1\r\nINFO: 2015/11/05 05:28:15.779542 POST /v1.21/containers/d45ecd3682a9240986d11be855ffe733ee0817a6d6163c1ce0b7b634dd279b51/start\r\nINFO: 2015/11/05 05:28:15.925320 Attaching container d45ecd3682a9240986d11be855ffe733ee0817a6d6163c1ce0b7b634dd279b51 with WEAVE_CIDR \"\" to weave network\r\n```\r\n\r\nHere is the output of `ps -eaf | grep weave`\r\n\r\n```\r\nroot      1342   849  0 20:51 ?        00:00:14 /home/weave/weaver --port 6783 --name 32:51:fc:ed:2b:14 --nickname hotelsoft-local2 --datapath weave --iface veth-weave --ipalloc-range 10.32.0.0/12 --dns-effective-listen-address 172.17.0.1 --dns-listen-address 172.17.0.1:53 --docker-api unix:///var/run/docker.sock\r\nroot      1628   849  0 20:51 ?        00:00:08 /home/weave/weaveproxy -H unix:///var/run/weave/weave.sock\r\nroot      1753     1  0 20:51 ?        00:00:00 /usr/bin/docker logs -f weave\r\nroot      3865  1628  0 21:28 ?        00:00:00 /bin/sh ./weave --local attach --rewrite-hosts --or-die d45ecd3682a9240986d11be855ffe733ee0817a6d6163c1ce0b7b634dd279b51\r\nroot      3916  3865  0 21:28 ?        00:00:00 /bin/sh ./weave --local attach --rewrite-hosts --or-die d45ecd3682a9240986d11be855ffe733ee0817a6d6163c1ce0b7b634dd279b51\r\n```\r\n\r\nLooks like weave is not able to attach IP addresses.\r\n\r\nPlease provide me some instructions on how to make things work.\r\n\r\n-Kesav"},"comment":{"url":"https://api.github.com/repos/weaveworks/weave/issues/comments/153985963","html_url":"https://github.com/weaveworks/weave/issues/1638#issuecomment-153985963","issue_url":"https://api.github.com/repos/weaveworks/weave/issues/1638","id":153985963,"user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T08:26:05Z","updated_at":"2015-11-05T08:26:05Z","body":"> they were all restarted at the same time\r\n\r\ndid all the nodes first get shut down, and then restarted? Or is it possible that some node restarted while another was still alive?"}}