{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18140","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18140/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18140/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18140/events","html_url":"https://github.com/kubernetes/kubernetes/issues/18140","id":120117007,"number":18140,"title":"Image gc is racy","user":{"login":"mqliang","id":12423751,"avatar_url":"https://avatars.githubusercontent.com/u/12423751?v=3","gravatar_id":"","url":"https://api.github.com/users/mqliang","html_url":"https://github.com/mqliang","followers_url":"https://api.github.com/users/mqliang/followers","following_url":"https://api.github.com/users/mqliang/following{/other_user}","gists_url":"https://api.github.com/users/mqliang/gists{/gist_id}","starred_url":"https://api.github.com/users/mqliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqliang/subscriptions","organizations_url":"https://api.github.com/users/mqliang/orgs","repos_url":"https://api.github.com/users/mqliang/repos","events_url":"https://api.github.com/users/mqliang/events{/privacy}","received_events_url":"https://api.github.com/users/mqliang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/node","name":"team/node","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-03T08:27:15Z","updated_at":"2015-12-04T01:29:47Z","closed_at":null,"body":"Image gc is racy: When kubelet creates a  docker container, it must pull a image if the image is not on the node. Just after the image is pulled and before the container is created, the image may be unfortunately garbage collected since there is no container using this image.\r\n\r\nrelated issue:\r\nhttps://github.com/kubernetes/kubernetes/issues/18127\r\n\r\nI am glad to submit a PR to help fix this(in a couple of days)."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/161845615","html_url":"https://github.com/kubernetes/kubernetes/issues/18140#issuecomment-161845615","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18140","id":161845615,"user":{"login":"dchen1107","id":7740897,"avatar_url":"https://avatars.githubusercontent.com/u/7740897?v=3","gravatar_id":"","url":"https://api.github.com/users/dchen1107","html_url":"https://github.com/dchen1107","followers_url":"https://api.github.com/users/dchen1107/followers","following_url":"https://api.github.com/users/dchen1107/following{/other_user}","gists_url":"https://api.github.com/users/dchen1107/gists{/gist_id}","starred_url":"https://api.github.com/users/dchen1107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchen1107/subscriptions","organizations_url":"https://api.github.com/users/dchen1107/orgs","repos_url":"https://api.github.com/users/dchen1107/repos","events_url":"https://api.github.com/users/dchen1107/events{/privacy}","received_events_url":"https://api.github.com/users/dchen1107/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T01:29:47Z","updated_at":"2015-12-04T01:29:47Z","body":"Do you know why image garbage collection is kicked out? Is it possible you are hitting Out-of-Disk issue? Maybe you have a too small disk here. "}}