Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KubeCluster creation is hanging on in Jupyter #103

Closed
guillaumeeb opened this issue Oct 1, 2018 · 6 comments
Closed

KubeCluster creation is hanging on in Jupyter #103

guillaumeeb opened this issue Oct 1, 2018 · 6 comments

Comments

@guillaumeeb
Copy link
Member

guillaumeeb commented Oct 1, 2018

OK, so sorry for the really newbie issue here.
I've just deployed a Pangeo style cluster on GCE, and I am trying to start a KubeCluster as in the Pangeo provided example, for instance dask-array.ipynb.
But no luck for the moment, the notebook cell is just displayed as running but nothing happens.

Should I give more argument than just

from dask_kubernetes import KubeCluster
cluster = KubeCluster(n_workers=10)
cluster

like a pod_spec for instance?

I'm not sure how this is suppose to work (or how it works on Pangeo?), as in the default config from this repo the pod spec is empty.

@mrocklin
Copy link
Member

mrocklin commented Oct 1, 2018 via email

@guillaumeeb
Copy link
Member Author

Still nothing with

from dask_kubernetes import KubeCluster
cluster = KubeCluster.from_yaml('worker-spec.yml')
cluster.scale_up(10)
cluster

How much time should it take? Should I be able to see something happen on GCE monitoring side?

Is there a way to see where it hangs in python? I tried to add debug logs with no luck.

@mrocklin
Copy link
Member

mrocklin commented Oct 1, 2018 via email

@guillaumeeb
Copy link
Member Author

guillaumeeb commented Oct 1, 2018

Seems like this is not dask-kubernetes related... I'm not even able to compute 2+2 in a cell...

Probably more a Pangeo deployment related issue. But I don't see anything relevant in the notebook server logs. I think that the Python kernel did not even start...

Sorry for the trouble.

@mrocklin
Copy link
Member

mrocklin commented Oct 1, 2018 via email

@guillaumeeb
Copy link
Member Author

Thanks @mrocklin for your kind help, sorry for the noise here, obviously this has nothing to do with this repo.

If I find something interesting I'll keep people posted, but probably on Pangeo side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants