Roshan Shrestha
02/15/2024, 6:10 PMUnboundLocalError: local variable 'configuration' referenced before assignment
18:00:03.690 | WARNING | prefect.worker.kubernetes.kubernetesworker 550d0424-d2d4-45dd-9e5a-a32d69a9786c - Flow run UUID('da62825e-bb01-4a80-b74e-fc203f8fec4f') cannot be cancelled by this worker: associated deployment UUID('38ae5af7-e26b-478d-a5a4-017899ef2919') does not exist.
18:00:03.690 | ERROR | prefect.flow_runs.worker - Encountered exception while killing infrastructure for flow run 'da62825e-bb01-4a80-b74e-fc203f8fec4f'. Flow run may not be cancelled.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/prefect/workers/base.py", line 668, in cancel_run
configuration=configuration,
Kevin Grismore
02/15/2024, 6:13 PMRoshan Shrestha
02/15/2024, 6:23 PMUriel Mandujano
02/15/2024, 8:20 PMdeployment UUID('38ae5af7-e26b-478d-a5a4-017899ef2919')
is an existing deployment ID?Roshan Shrestha
02/15/2024, 8:36 PMRoshan Shrestha
02/15/2024, 8:37 PMUriel Mandujano
02/15/2024, 8:40 PMRoshan Shrestha
02/15/2024, 8:43 PMUriel Mandujano
02/15/2024, 8:47 PMprefect flow-run delete da62825e-bb01-4a80-b74e-fc203f8fec4f
that should stop your worker from doing thatRoshan Shrestha
02/15/2024, 8:51 PMUriel Mandujano
02/15/2024, 10:28 PM