Skip to content

RuntimeError: Cannot add child handler (on Google Cloud Shell/GKE) #376

@carderne

Description

@carderne

What happened:
Running the basic quickstart example with dask-kubernetes==2021.10.0, I get the following error (full trace below the fold).

RuntimeError: Cannot add child handler, the child watcher does not have a loop attached

What you expected to happen:
Start a basic cluster.

Minimal Complete Verifiable Example:

pip install dask-kubernetes==2021.10.0
from dask_kubernetes import KubeCluster
# yaml copied from quickstart
cluster = KubeCluster("worker-spec.yaml")
cluster.scale(1)

Anything else we need to know?:
It works on version 2021.3.1.

Environment:

  • Dask version: 2021.10.0
  • Python version: 3.7.3
  • Operating System: Debian buster (running on Google Cloud Shell)
  • Install method (conda, pip, source): pip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions