{"action":"opened","issue":{"url":"https://api.github.com/repos/projectcalico/calico-docker/issues/505","labels_url":"https://api.github.com/repos/projectcalico/calico-docker/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/projectcalico/calico-docker/issues/505/comments","events_url":"https://api.github.com/repos/projectcalico/calico-docker/issues/505/events","html_url":"https://github.com/projectcalico/calico-docker/issues/505","id":108903732,"number":505,"title":"pools with ranges don't work well with IPAM","user":{"login":"spikecurtis","id":5375600,"avatar_url":"https://avatars.githubusercontent.com/u/5375600?v=3","gravatar_id":"","url":"https://api.github.com/users/spikecurtis","html_url":"https://github.com/spikecurtis","followers_url":"https://api.github.com/users/spikecurtis/followers","following_url":"https://api.github.com/users/spikecurtis/following{/other_user}","gists_url":"https://api.github.com/users/spikecurtis/gists{/gist_id}","starred_url":"https://api.github.com/users/spikecurtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spikecurtis/subscriptions","organizations_url":"https://api.github.com/users/spikecurtis/orgs","repos_url":"https://api.github.com/users/spikecurtis/repos","events_url":"https://api.github.com/users/spikecurtis/events{/privacy}","received_events_url":"https://api.github.com/users/spikecurtis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projectcalico/calico-docker/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-29T16:11:42Z","updated_at":"2015-09-29T16:11:42Z","closed_at":null,"body":"`calicoctl pool range add ...` creates a bunch of small pools that add up to the range identified.  This is a problem if Calico IPAM is used, since we use a fixed-size block, so it will ignore any pools smaller than the block size (64-addresses in latest version).\r\n\r\nIn the worst case, if no pools are the block size or larger, we will completely fail to allocate addresses.\r\n\r\nc.f. error logs in Kubernetes: http://pastebin.com/PGMe67Ws"}}