{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23050","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23050/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23050/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23050/events","html_url":"https://github.com/kubernetes/kubernetes/pull/23050","id":141280364,"number":23050,"title":"Fix for issue #22932 infinite pod restarts with CNI","user":{"login":"tobad357","id":608607,"avatar_url":"https://avatars.githubusercontent.com/u/608607?v=3","gravatar_id":"","url":"https://api.github.com/users/tobad357","html_url":"https://github.com/tobad357","followers_url":"https://api.github.com/users/tobad357/followers","following_url":"https://api.github.com/users/tobad357/following{/other_user}","gists_url":"https://api.github.com/users/tobad357/gists{/gist_id}","starred_url":"https://api.github.com/users/tobad357/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobad357/subscriptions","organizations_url":"https://api.github.com/users/tobad357/orgs","repos_url":"https://api.github.com/users/tobad357/repos","events_url":"https://api.github.com/users/tobad357/events{/privacy}","received_events_url":"https://api.github.com/users/tobad357/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cherrypick-candidate","name":"cherrypick-candidate","color":"fef2c0"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P0","name":"priority/P0","color":"e11d21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XS","name":"size/XS","color":"009900"}],"state":"open","locked":false,"assignee":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/15","html_url":"https://github.com/kubernetes/kubernetes/milestones/v1.2","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones/15/labels","id":1278499,"number":15,"title":"v1.2","description":"https://github.com/kubernetes/kubernetes/wiki/Release-1.2","creator":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":814,"state":"open","created_at":"2015-08-29T03:54:16Z","updated_at":"2016-03-16T14:35:58Z","due_on":"2016-03-16T07:00:00Z","closed_at":null},"comments":12,"created_at":"2016-03-16T13:45:45Z","updated_at":"2016-03-16T14:42:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/23050","html_url":"https://github.com/kubernetes/kubernetes/pull/23050","diff_url":"https://github.com/kubernetes/kubernetes/pull/23050.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/23050.patch"},"body":"This fixes an [issue](https://github.com/kubernetes/kubernetes/issues/22932) when using CNI where the hash of a Container object will differ between creation and change checks due to the docker image exporting ports.\r\nWe make sure the Container generated in [DockerManager. podInfraContainerChanged](https://github.com/kubernetes/kubernetes/blob/bc62096ad5ea8ce15156b39cfd2333bc6f589905/pkg/kubelet/dockertools/manager.go#L805) uses the same logic as in [DockerManager. createPodInfraContainer](https://github.com/kubernetes/kubernetes/blob/bc62096ad5ea8ce15156b39cfd2333bc6f589905/pkg/kubelet/dockertools/manager.go#L1584) when it comes to adding Dockers own exported ports\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/197360637","html_url":"https://github.com/kubernetes/kubernetes/pull/23050#issuecomment-197360637","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23050","id":197360637,"user":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T14:42:44Z","updated_at":"2016-03-16T14:42:44Z","body":"@tobad357 Please squash"}}