Josh Lowe
05/04/2021, 10:19 PMMessage: [{'path': ['set_flow_run_states'], 'message': '[{\'extensions\': {\'path\': \'$\', \'code\': \'data-exception\'}, \'message\': \'invalid input syntax for type uuid: "3fca7934-6af8-45f7-aae4-ea6fec0339c9:FargateAgent:agent:<agent_name>"\'}]', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
No changes have been made to our platform, and it looks like some flows are able to be run, but then will fail again on subsequent runs. Anyone seen anything like this before?
FargateAgent is deprecated, and we have plans to update and move to ECS agent - but I haven't seen any updates in a while that might be causing thisMariia Kerimova
05/04/2021, 10:37 PMJosh Lowe
05/04/2021, 10:38 PMMariia Kerimova
05/04/2021, 10:42 PMMariia Kerimova
05/04/2021, 11:01 PMJosh Lowe
05/04/2021, 11:04 PMMariia Kerimova
05/04/2021, 11:16 PMAgent ID: 7DEF1AEF-32B5-4D39-A2CA-D9D6D63B7471
?Josh Lowe
05/04/2021, 11:30 PM7def1aef-32b5-4d39-a2ca-d9d6d63b7471
Kevin Dyer
05/05/2021, 1:32 AMKevin Dyer
05/05/2021, 1:33 AMKevin Kho
Kevin Dyer
05/05/2021, 4:59 AMKevin Kho
PREFECT__LOGGING__LEVEL=DEBUG
. DocKevin Kho
Kevin Kho
Kevin Kho
Kevin Dyer
05/05/2021, 5:33 PMexport PREFECT__LOGGING__LEVEL=Debug; start_agent.py
Where the script has
agent = FargateAgent(...)
agent.start()
Should do it?
Eventually it seems to rely on this line: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/agent/agent.py#L145Kevin Kho
PREFECT__LOGGING__LEVEL=DEBUG
. Not sure if capitalization matters but just to be safe. That should do it. I wouldn’t really read code from master since we’re on version 0.14+ now and you were on 0.12 so I’m not sure it’s reliable. But yes in this case I think that’s all good.Kevin Dyer
05/10/2021, 1:22 AMKevin Kho
prefect agent local start -log-level DEBUG
. Doc here . The environment variable is not the easiest way to do itKevin Dyer
05/10/2021, 1:27 AMagent.start()
script. I'd like to dig further (and upgrade) if I can make the timeKevin Kho