{"action":"created","issue":{"url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/24","labels_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/24/comments","events_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/24/events","html_url":"https://github.com/aws/amazon-ecs-agent/issues/24","id":58792291,"number":24,"title":"Container failure reasons should be more clear and include more types of failures","user":{"login":"euank","id":2147649,"avatar_url":"https://avatars.githubusercontent.com/u/2147649?v=3","gravatar_id":"","url":"https://api.github.com/users/euank","html_url":"https://github.com/euank","followers_url":"https://api.github.com/users/euank/followers","following_url":"https://api.github.com/users/euank/following{/other_user}","gists_url":"https://api.github.com/users/euank/gists{/gist_id}","starred_url":"https://api.github.com/users/euank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euank/subscriptions","organizations_url":"https://api.github.com/users/euank/orgs","repos_url":"https://api.github.com/users/euank/repos","events_url":"https://api.github.com/users/euank/events{/privacy}","received_events_url":"https://api.github.com/users/euank/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/amazon-ecs-agent/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-24T19:37:21Z","updated_at":"2015-05-08T20:01:55Z","closed_at":"2015-05-08T20:01:55Z","body":"When a container unexpectedly exits, it should be more clearly communicated what went wrong.\r\n\r\nThis issue is to point out specific cases where it could be improved.\r\n\r\n1) OOMKilled - If a container is killed due to memory constraints, this should be communicated.\r\n\r\n2) \"no such image\" should instead give the error from pulling (e.g. registry auth).\r\n\r\n3) Anything docker 1.5 puts in the .State.Error field  (executable file not found in $PATH, etc) should be bubbled up.\r\n\r\nAdditional suggestions are welcome."},"comment":{"url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/comments/100342392","html_url":"https://github.com/aws/amazon-ecs-agent/issues/24#issuecomment-100342392","issue_url":"https://api.github.com/repos/aws/amazon-ecs-agent/issues/24","id":100342392,"user":{"login":"euank","id":2147649,"avatar_url":"https://avatars.githubusercontent.com/u/2147649?v=3","gravatar_id":"","url":"https://api.github.com/users/euank","html_url":"https://github.com/euank","followers_url":"https://api.github.com/users/euank/followers","following_url":"https://api.github.com/users/euank/following{/other_user}","gists_url":"https://api.github.com/users/euank/gists{/gist_id}","starred_url":"https://api.github.com/users/euank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euank/subscriptions","organizations_url":"https://api.github.com/users/euank/orgs","repos_url":"https://api.github.com/users/euank/repos","events_url":"https://api.github.com/users/euank/events{/privacy}","received_events_url":"https://api.github.com/users/euank/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T20:01:55Z","updated_at":"2015-05-08T20:01:55Z","body":"The errors, as reported in he reason field, are much clearer in the v1.1.0 agent (see https://github.com/aws/amazon-ecs-agent/commit/7c02e04606ad44a951115d757da134d6d94885cf).\r\n\r\nThere's still room for improvement, but we can track those improvements separately as needed."}}