Meyy
04/25/2023, 10:54 PM15:33:55.166 | INFO | prefect.agent - Submitting flow run '6fd60d2e-8536-43c4-aea7-97c5e44bc5eb'
15:33:55.433 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Retrieving task definition 'arn:aws:ecs:us-west-2:762097867323:task-definition/dsa-prefect-v2-development-task'...
15:33:55.686 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Retrieving task definition 'dsa-prefect-v2-development-task'...
15:33:55.742 | WARNING | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Settings require changes to the linked task definition. A new task definition will be registered.
15:33:56.396 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Creating task run...
15:33:57.341 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Waiting for task run to start...
15:33:57.411 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Status is PROVISIONING.
15:34:07.545 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Status is PENDING.
15:34:22.744 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Status is RUNNING.
15:34:27.747 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Running command 'python -m prefect.engine' in container 'prefect' (prefecthq/prefect:2-latest)...
15:34:27.788 | INFO | prefect.agent - Completed submission of flow run '6fd60d2e-8536-43c4-aea7-97c5e44bc5eb'
15:34:32.881 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Status is DEPROVISIONING.
15:34:43.037 | INFO | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Status is STOPPED.
15:34:43.102 | WARNING | prefect.infrastructure.ecs-task - ECSTask 'fuzzy-sponge': Container 'prefect' exited with non-zero exit code 143.
15:34:43.166 | INFO | prefect.agent - Reported flow run '6fd60d2e-8536-43c4-aea7-97c5e44bc5eb' as crashed: Flow run infrastructure exited with non-zero status code 143.
Zanie
04/25/2023, 11:27 PMMeyy
04/26/2023, 1:13 AMZanie
04/26/2023, 1:40 AMRobert Banick
04/26/2023, 4:32 PMGetContainerLogs
for Prefect 1.
I’m encountering a similar issue (different error code) and am trying to get to the bottom of what’s happening inside the container.Zanie
04/26/2023, 4:37 PMstream_output=True
on your ECS task then we will stream the container logs to CloudWatchRobert Banick
04/26/2023, 4:38 PM