Skip to content

Redis has started but no raylets have registered yet. #8152

Closed
@lizelive

Description

@lizelive

I started a ray cluster ray start --head --redis-port=6379
I connect to in from my jupyter notebook using ray.init(address='auto', redis_password='5241590000000000')

Then i try to add an aditional node to the cluster using ray.init(address='10.0.0.4:6379', redis_password='5241590000000000')

But get Redis has started but no raylets have registered yet. See bellow for full log.

It works when started from the command line.
Thanks!

ray 0.8.3, Ubuntu 16.04.6 LTS

Full output:

2020-04-23 20:12:43,199	WARNING worker.py:792 -- When connecting to an existing cluster, _internal_config must match the cluster's _internal_config.
2020-04-23 20:12:43,208	WARNING services.py:183 -- Some processes that the driver needs to connect to have not registered with Redis, so retrying. Have you run 'ray start' on this node?
2020-04-23 20:12:44,213	WARNING services.py:183 -- Some processes that the driver needs to connect to have not registered with Redis, so retrying. Have you run 'ray start' on this node?
2020-04-23 20:12:45,218	WARNING services.py:183 -- Some processes that the driver needs to connect to have not registered with Redis, so retrying. Have you run 'ray start' on this node?
2020-04-23 20:12:46,223	WARNING services.py:183 -- Some processes that the driver needs to connect to have not registered with Redis, so retrying. Have you run 'ray start' on this node?
2020-04-23 20:12:47,227	WARNING services.py:183 -- Some processes that the driver needs to connect to have not registered with Redis, so retrying. Have you run 'ray start' on this node?


The experiment failed. Finalizing run...
Cleaning up all outstanding Run operations, waiting 300.0 seconds
1 items cleaning up...
Cleanup took 0.17613768577575684 seconds
Starting the daemon thread to refresh tokens in background for process with pid = 138
Traceback (most recent call last):
  File "node.py", line 2, in <module>
    ray.init(address='10.0.0.4:6379', redis_password='5241590000000000')
  File "/azureml-envs/azureml_4f5506ddd0f6ef8dca81d6df2a7ac40d/lib/python3.6/site-packages/ray/worker.py", line 809, in init
    connect_only=True)
  File "/azureml-envs/azureml_4f5506ddd0f6ef8dca81d6df2a7ac40d/lib/python3.6/site-packages/ray/node.py", line 125, in __init__
    redis_password=self.redis_password)
  File "/azureml-envs/azureml_4f5506ddd0f6ef8dca81d6df2a7ac40d/lib/python3.6/site-packages/ray/services.py", line 176, in get_address_info_from_redis
    redis_address, node_ip_address, redis_password=redis_password)
  File "/azureml-envs/azureml_4f5506ddd0f6ef8dca81d6df2a7ac40d/lib/python3.6/site-packages/ray/services.py", line 159, in get_address_info_from_redis_helper
    "Redis has started but no raylets have registered yet.")
RuntimeError: Redis has started but no raylets have registered yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionJust a question :)staleThe issue is stale. It will be closed within 7 days unless there are further conversation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions