{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/1639","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/1639/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/1639/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/1639/events","html_url":"https://github.com/weaveworks/weave/issues/1639","id":115244058,"number":1639,"title":"lack of diagnostics when IPAM is stuck but does have consensus","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},"labels":[{"url":"https://api.github.com/repos/weaveworks/weave/labels/chore","name":"chore","color":"207de5"},{"url":"https://api.github.com/repos/weaveworks/weave/labels/[component/ipam]","name":"[component/ipam]","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"inercia","id":1841612,"avatar_url":"https://avatars.githubusercontent.com/u/1841612?v=3","gravatar_id":"","url":"https://api.github.com/users/inercia","html_url":"https://github.com/inercia","followers_url":"https://api.github.com/users/inercia/followers","following_url":"https://api.github.com/users/inercia/following{/other_user}","gists_url":"https://api.github.com/users/inercia/gists{/gist_id}","starred_url":"https://api.github.com/users/inercia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inercia/subscriptions","organizations_url":"https://api.github.com/users/inercia/orgs","repos_url":"https://api.github.com/users/inercia/repos","events_url":"https://api.github.com/users/inercia/events{/privacy}","received_events_url":"https://api.github.com/users/inercia/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/weaveworks/weave/milestones/18","html_url":"https://github.com/weaveworks/weave/milestones/1.4.0","labels_url":"https://api.github.com/repos/weaveworks/weave/milestones/18/labels","id":1370646,"number":18,"title":"1.4.0","description":"","creator":{"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},"open_issues":18,"closed_issues":3,"state":"open","created_at":"2015-10-22T15:23:34Z","updated_at":"2015-11-17T14:52:17Z","due_on":"2015-12-10T00:00:00Z","closed_at":null},"comments":7,"created_at":"2015-11-05T09:38:33Z","updated_at":"2015-11-17T18:29:37Z","closed_at":null,"body":"IPAM can get stuck even though it does have consensus, because a) the entire range is owned by a node which is currently dead, or b) the entire range is allocated.\r\n\r\nThis is hard to diagnose at present. `weave status` reports on the consensus state only. `weave report` has the info, but a) it's not something we expect users to have to look at, b) the info is not particularly digestable, and c) it's not showing nicknames, which, if an entry belongs to a dead node, is crucial for identifying what node is the problem.\r\n\r\nSee #1638 for an example.\r\n\r\nSuggestions:\r\n\r\n1. annotate the ipam entries list in the `weave report` with nicknames. Alternatively, include the nickname map as a separate item (though this is noisy and less helpful in the typical case)\r\n2. introduce a `weave status ipam` that shows *summarised* information about IPAM:\r\n    - the allocation range\r\n    - the total number of IPs in the range, the total number of free IPs, the total number of allocated IPs, and some free/allocated percentage figures - yes, these are not necessarily accurate\r\n    - the same figures, for every peer mentioned in the ring\r\n    - NB: I don't think we should list ring entries\r\n"},"comment":{"url":"https://api.github.com/repos/weaveworks/weave/issues/comments/157461137","html_url":"https://github.com/weaveworks/weave/issues/1639#issuecomment-157461137","issue_url":"https://api.github.com/repos/weaveworks/weave/issues/1639","id":157461137,"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-17T18:29:37Z","updated_at":"2015-11-17T18:29:37Z","body":"yes, yes, yes. Please examine what problem this issue is actually trying to address. And what we did in #1624, which is directly related to this issue."}}