Nathaniel Russell
08/26/2022, 3:04 PMTask 'sync_canvas': Exception encountered during task execution!
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/prefect/engine/task_runner.py", line 859, in get_task_run_state
value = prefect.utilities.executors.run_task_with_timeout(
File "/usr/local/lib/python3.8/site-packages/prefect/utilities/executors.py", line 445, in run_task_with_timeout
return task.run(*args, **kwargs) # type: ignore
File "<string>", line 28, in sync_canvas
TypeError: 'NoneType' object is not iterable
We are using prefect on EC2 spot instances and we think this is likely caused by AWS dropping our spot instances. Is there a way around this while still using spot instances or is this unavoidable with spot instances?Tim Enders
08/26/2022, 3:07 PMNathaniel Russell
08/26/2022, 3:08 PMTim Enders
08/26/2022, 3:10 PMNathaniel Russell
08/26/2022, 3:11 PMTim Enders
08/26/2022, 3:12 PMNathaniel Russell
08/26/2022, 3:13 PMTim Enders
08/26/2022, 3:16 PMNone
from the crash when a spot is closed down? If it is within the Flow instance it all should come crashing down and not give you that error. I think. Might need someone to weigh in from Prefect