Hello Team, using Prefect Server (version 0.14.1) ...
# prefect-server
n
Hello Team, using Prefect Server (version 0.14.1) with Dask Gateway. I keep seeing this error after building the Docker image and registering the flow. Any insights into what might be causing this?
dask_gateway.client.GatewayClusterError: Cluster 'dask-gateway.227aa200f55a45a091b3cf6a0d037563' failed to start, see logs for more information
Here are more details from GKE logs:
Last working version of Prefect Flow was using
conda
in the Dockerfile, now it is using
pip
to install all packages.
k
Hey @Nivi Mukka, what is your click version?
n
Hi @Kevin Kho, not sure I am using click. Where can I check that?
z
upvote and distributed version https://github.com/dask/dask/issues/7658
n
Copy code
dask-gateway==0.9.0
dask==2020.12.0
distributed==2020.12.0
k
pip show click
in the environment maybe? Prefect needs click for the CLI
n
click==7.1.2
this is in the GCP Notebook Instance, which is where I am doing the build and pushing flow to Prefect
k
How about in the image?
n
I am installing all the packages using
pip
now instead of
conda
because of Ananconda’s commercial license.
z
If you're using Prefect 0.14.1, the latest version of
click
will be installed as a dependency, meaning
click 8.0
or higher
n
Should I install
click
in my Dockerfile explicitly?
z
Yeah that should do it
n
Okay, will give it a shot!
Which version do you recommend?
k
Anything below
8.0
i think
👍 2
n
Added
click==7.1.2
to my Dockerfile and that was the fix, thank you so much!
👍 2