Georgi Yanev
09/24/2022, 9:29 PMAnna Geller
09/24/2022, 9:41 PMGeorgi Yanev
09/24/2022, 9:43 PMLoading flow for deployment 'ingest_images_flow'...
12:14:34 AM
DEBUG
Starting 'DaskTaskRunner'; submitted tasks will be run concurrently...
12:14:35 AM
ERROR
Crash detected! Execution was interrupted by an unexpected exception.
12:14:43 AM
DEBUG
Crash details:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/prefect/engine.py", line 1321, in report_flow_run_crashes
yield
File "/usr/local/lib/python3.8/site-packages/prefect/engine.py", line 364, in begin_flow_run
await result_filesystem._save(is_anonymous=True)
File "/usr/local/lib/python3.8/site-packages/prefect/blocks/core.py", line 717, in _save
await self.register_type_and_schema(client=client)
File "/usr/local/lib/python3.8/site-packages/prefect/blocks/core.py", line 662, in register_type_and_schema
await client.update_block_type(
File "/usr/local/lib/python3.8/site-packages/prefect/client.py", line 1150, in update_block_type
await self._client.patch(
File "/usr/local/lib/python3.8/site-packages/httpx/_client.py", line 1916, in patch
return await self.request(
File "/usr/local/lib/python3.8/site-packages/httpx/_client.py", line 1527, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.8/site-packages/prefect/client.py", line 279, in send
response.raise_for_status()
File "/usr/local/lib/python3.8/site-packages/prefect/client.py", line 225, in raise_for_status
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.cause
prefect.exceptions.PrefectHTTPStatusError: Client error '403 Forbidden' for url 'http://10.19.8.85:4210/api/block_types/a2dda662-16a7-4f86-ba75-e99a0192d5ff'
Response: {'detail': 'protected block types cannot be updated.'}
For more information check: https://httpstatuses.com/403Anna Geller
09/24/2022, 9:47 PMGeorgi Yanev
09/24/2022, 9:49 PMAnna Geller
09/24/2022, 9:49 PMThe strange thing is that the block that is accessed is of type local-file-system and I do not have such block in my system.based on this message, one thing you could try (regardless of whether you decide to keep 2.4.2 or downgrade) is to delete the deployment(s) that failed and create new ones
Georgi Yanev
09/24/2022, 9:59 PMAnna Geller
09/24/2022, 10:08 PM