Open dekimsey opened 3 years ago
The health check issues noted above are a real shortcoming. Even just including which container caused the failure in the ECS event history would be incredibly helpful.
Linking the question-issue from AWS-team here: https://github.com/aws/containers-roadmap/issues/2366 (Stopped task error message enhancements input requested)
Community Note
Tell us about your request Improve the task-specific event logging information. (Information from the ECS daemon itself about it's actions, not related to container logging.) I would love to see logged information about task-specific actions the daemon is performing at a high-level.
Which service(s) is this request for? ECS and in particular Fargate
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? Debugging multiple-container start-up is very tricky right now. ECS Fargate will:
Stopped Reason
to ~ 128 characters, making long ARN-containing messages useless.These are just the items that have occurred to me in the last few minutes. I'd be comfortable stating debugging ECS Fargate containers in general is currently quite difficult. Especially after the fact (since there is no information saved, nor is any of it timestamped if it is available).
Generally speaking the, inability to see even a high-level event log of what the daemon was doing and when for a given task is a large hindrance to debugging start-up issues. In the past, I've reached out to support which can take days, and their response is usually did you try running the task in ECS EC2? Which isn't very helpful as they aren't the same service and behave differently.
Are you currently working around this issue? Trial and error, and a great deal of patience.
Additional context None
Attachments None