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

[Bug] Ray master fails to start dashboard as a result of new aiohttp version (3.8) #19940

Closed
2 tasks done
gilfree opened this issue Nov 1, 2021 · 2 comments
Closed
2 tasks done
Labels
bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component)

Comments

@gilfree
Copy link

gilfree commented Nov 1, 2021

Search before asking

  • I searched the issues and found no similar issues.

Ray Component

Ray Core

What happened + What you expected to happen

After installing nightly, ray start fails to start dashboard because of missing import aiohttp.signals.

I ran

RAY_OBJECT_STORE_ALLOW_LOW_STORAGE=1 ray start --head --include-dashboard 1 --port 0

And got:
ImportError: Not all Ray Dashboard dependencies were found. To use the dashboard please install Ray using pip install ray[default].

When manually trying to do:
python -c 'import ray.dashboard.optional_deps'
I get ModuleNotFoundError: No module named 'aiohttp.signals'

Which is expected as recently aiohttp released version 3.8 which lacks the above import:
see: aio-libs/aiohttp#5293

Versions / Dependencies

nightly ray on ubuntu 18.04 python 3.7

Reproduction script

#! /bin/bash
set -x
python3 -mvenv venv
venv/bin/python -m pip install -U pip
venv/bin/python -m pip install --trusted-host s3-us-west-2.amazonaws.com -U 'ray[default] @ https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-2.0.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl'
venv/bin/python -c 'import ray.dashboard.optional_deps'
RAY_OBJECT_STORE_ALLOW_LOW_STORAGE=1 ray start --head --include-dashboard 1 --port 0

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@gilfree gilfree added bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component) labels Nov 1, 2021
@ebr
Copy link

ebr commented Nov 4, 2021

We are also affected by this; confirmed that pip install 'aiohttp<3.8' on all nodes fixes the issue.

@jamesmishra
Copy link
Contributor

I believe that this issue was fixed when PR #20261 was landed into master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't triage Needs triage (eg: priority, bug/not-bug, and owning component)
Projects
None yet
Development

No branches or pull requests

3 participants