# Worker node cannot be added

**URL:** <https://discuss.ray.io/t/worker-node-cannot-be-added/8637>\
**Category:** Ray Core\
**Created:** [December 13, 2022, 6:26am UTC](https://discuss.ray.io/t/worker-node-cannot-be-added/8637 "2022-12-13T06:26:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allie\_Yang](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/allie_yang/32/196_2.png) [@Allie\_Yang](https://discuss.ray.io/u/Allie_Yang)\
**Post date:** [December 13, 2022, 6:26am UTC](https://discuss.ray.io/t/worker-node-cannot-be-added/8637/1 "2022-12-13T06:26:22Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- Medium: It contributes to significant difficulty to complete my task, but I can work around it.

I currently have 1 CPU header node and 1 8-GPU worker node working fine. I tried to add another worker node. to the cluster by doing below command in the 2nd worker node, which is the same command I did in the 1st worker node

```auto
ray start --address='10.216.142.235:6379'

```

The output of `ray status` is fine, shows a total of 3 node and correct total GPUs and CPUs.  
However, in the dashboard, it doesn’t show the added node’s resources; the log of the new node is weird and cannot be accessed either (see attached screenshot).

I tried to submit a ray job that needs 10GPUs (each worker node has 8 GPUs), it fails, so this means the new node is not added.

```auto
@ray.remote(num_gpus=10, max_retries=0, max_calls=1)
def test_gpu():
    print("ray.get_gpu_ids(): {}".format(ray.get_gpu_ids()))

```

Is there any clue why this happens? Again same CLI works fine on 1st worker node (all nodes are ubuntu machines). I forget what pip packages or other libraries we installed on 1st worker node…if there is any library dependency…

 ![Screen Shot 2022-12-12 at 10.19.38 PM](https://us1.discourse-cdn.com/flex020/uploads/ray/original/2X/e/e9d5cae89108f30efec8d1bf135807793b2b8a20.png)  
 ![Screen Shot 2022-12-12 at 10.19.49 PM](https://us1.discourse-cdn.com/flex020/uploads/ray/original/2X/7/728174002c89c1b87e9a31b0bf098360fd5afb4e.png)

---

<div class="post-metadata">

**Author:** ![sangcho](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sangcho/32/425_2.png) [@sangcho](https://discuss.ray.io/u/sangcho)\
**Post date:** [December 13, 2022, 7:06am UTC](https://discuss.ray.io/t/worker-node-cannot-be-added/8637/2 "2022-12-13T07:06:24Z")

</div>

It is highly likely that your port is not properly configured. Have you made sure all ports in this doc is open [Configuring Ray — Ray 3.0.0.dev0](https://docs.ray.io/en/master/ray-core/configure.html#ports-configurations)?

---

<div class="post-metadata">

**Author:** ![Allie\_Yang](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/allie_yang/32/196_2.png) [@Allie\_Yang](https://discuss.ray.io/u/Allie_Yang)\
**Post date:** [December 13, 2022, 9:02pm UTC](https://discuss.ray.io/t/worker-node-cannot-be-added/8637/3 "2022-12-13T21:02:52Z")

</div>

I have 1 CPU head node and 1 8-GPU node working already, so this means my ports should be fine?  
Is there any additional port requirement for the new worker node?

---

<div class="post-metadata">

**Author:** ![sangcho](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sangcho/32/425_2.png) [@sangcho](https://discuss.ray.io/u/sangcho)\
**Post date:** [December 13, 2022, 11:33pm UTC](https://discuss.ray.io/t/worker-node-cannot-be-added/8637/4 "2022-12-13T23:33:34Z")

</div>

Can you make sure all ports written here is open? [Configuring Ray — Ray 3.0.0.dev0](https://docs.ray.io/en/master/ray-core/configure.html#ports-configurations). Based on symptoms, it is highly likely ports of some components are not open
