Hello. We are trying to setup ECS prefect run config with prefect cloud and this thing just refuses to work out of the box. There is a huge lack of logging inside ecs agent, it does a lot of work by generating task definition but never actually shows generated definition, if registration fails. First issue I faced was that task definision generated by default was invalid, and i was receiving
An error occurred (InvalidParameterException) when calling the RunTask operation: Task definition does not support launch_type FARGATE.
because generated definition lacks
requiresCompatibilities
field. Trying to solve that with custom task definition, i constantly run into different errors like missing field here and there and a problem that definition registration script patches my task definition with its invalid values. Right now i am unable to fight a problem when generated definition have null container name, though docker storage, and run config have them set. I can not debug anything without any logging.
z
Zach Schumacher
06/16/2021, 4:53 PM
have you tried setting the logging level to debug on the agent?
a
Alexander
06/16/2021, 4:54 PM
How it helps if there are no logging statements by design in the agent code itself?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.