{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/flannel/issues/378","labels_url":"https://api.github.com/repos/coreos/flannel/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/coreos/flannel/issues/378/comments","events_url":"https://api.github.com/repos/coreos/flannel/issues/378/events","html_url":"https://github.com/coreos/flannel/pull/378","id":119337713,"number":378,"title":"subnet: fix SubnetMax calculation when parsing config","user":{"login":"amitkgupta","id":1580649,"avatar_url":"https://avatars.githubusercontent.com/u/1580649?v=3","gravatar_id":"","url":"https://api.github.com/users/amitkgupta","html_url":"https://github.com/amitkgupta","followers_url":"https://api.github.com/users/amitkgupta/followers","following_url":"https://api.github.com/users/amitkgupta/following{/other_user}","gists_url":"https://api.github.com/users/amitkgupta/gists{/gist_id}","starred_url":"https://api.github.com/users/amitkgupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitkgupta/subscriptions","organizations_url":"https://api.github.com/users/amitkgupta/orgs","repos_url":"https://api.github.com/users/amitkgupta/repos","events_url":"https://api.github.com/users/amitkgupta/events{/privacy}","received_events_url":"https://api.github.com/users/amitkgupta/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-29T05:25:57Z","updated_at":"2015-12-01T06:01:03Z","closed_at":"2015-11-29T08:26:43Z","pull_request":{"url":"https://api.github.com/repos/coreos/flannel/pulls/378","html_url":"https://github.com/coreos/flannel/pull/378","diff_url":"https://github.com/coreos/flannel/pull/378.diff","patch_url":"https://github.com/coreos/flannel/pull/378.patch"},"body":"Given a /24 subnet I see:\r\n\"Picking subnet in range 10.244.8.128 ... 10.244.8.128\"\r\n\"Failed to acquire subnet: out of subnets\"\r\nThe SubnetMax calculation looks wrong, fixed it.\r\n\r\nI could not add or run tests, because I'm on a Mac, and\r\nam hitting: https://github.com/vishvananda/netlink/issues/17"},"comment":{"url":"https://api.github.com/repos/coreos/flannel/issues/comments/160864263","html_url":"https://github.com/coreos/flannel/pull/378#issuecomment-160864263","issue_url":"https://api.github.com/repos/coreos/flannel/issues/378","id":160864263,"user":{"login":"eyakubovich","id":3586053,"avatar_url":"https://avatars.githubusercontent.com/u/3586053?v=3","gravatar_id":"","url":"https://api.github.com/users/eyakubovich","html_url":"https://github.com/eyakubovich","followers_url":"https://api.github.com/users/eyakubovich/followers","following_url":"https://api.github.com/users/eyakubovich/following{/other_user}","gists_url":"https://api.github.com/users/eyakubovich/gists{/gist_id}","starred_url":"https://api.github.com/users/eyakubovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyakubovich/subscriptions","organizations_url":"https://api.github.com/users/eyakubovich/orgs","repos_url":"https://api.github.com/users/eyakubovich/repos","events_url":"https://api.github.com/users/eyakubovich/events{/privacy}","received_events_url":"https://api.github.com/users/eyakubovich/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T06:01:03Z","updated_at":"2015-12-01T06:01:03Z","body":"@amitkgupta Can you paste your flannel config that was causing the error? (what's stored in `/coreos.com/network/config`)"}}