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

Not working when the worker node has multiple IPs #126

Open
marty90 opened this issue Oct 21, 2020 · 0 comments
Open

Not working when the worker node has multiple IPs #126

marty90 opened this issue Oct 21, 2020 · 0 comments

Comments

@marty90
Copy link

marty90 commented Oct 21, 2020

If the worker node has multiple IPs, the worker process may bind to the wrong one.
I use this workaround at

name=skein.properties.container_id,

I add to the Nanny() arguments, so that it looks like:

    worker = Nanny(
        scheduler,
        loop=loop,
        memory_limit=memory_limit,
        worker_port=0,
        nthreads=nthreads,
        name=skein.properties.container_id,
        listen_address="0.0.0.0",
        host="0.0.0.0",
    )

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

1 participant