# Question about ray/python/ray/autoscaler/local/example-full.yaml

**URL:** <https://discuss.ray.io/t/question-about-ray-python-ray-autoscaler-local-example-full-yaml/7123>\
**Category:** Ray Core\
**Created:** [August 8, 2022, 3:38pm UTC](https://discuss.ray.io/t/question-about-ray-python-ray-autoscaler-local-example-full-yaml/7123 "2022-08-08T15:38:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mabodx](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/mabodx/32/2981_2.png) [@mabodx](https://discuss.ray.io/u/mabodx)\
**Post date:** [August 8, 2022, 3:38pm UTC](https://discuss.ray.io/t/question-about-ray-python-ray-autoscaler-local-example-full-yaml/7123/1 "2022-08-08T15:38:13Z")

</div>

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

- Low: It annoys or frustrates me for a moment.

I try to run `ray up ray/python/ray/autoscaler/local/example-full.yaml` on the head machine. it is woring. but we I try to use the work to connect to the head, I find the python version is different from the head. and get the following error.

```auto
RuntimeError: Version mismatch: The cluster was started with:
    Ray: 1.13.0
    Python: 3.7.7
This process on node work machine was started with:
    Ray: 1.13.0
    Python: 3.10.4

```

I guess the reason for this is head launch use 3.7.7 but which I use ray start --address=‘XXXX:6388’ to connect the work machine is 3.10.4. I cannot find where is the docker file to config the python version.

---

<div class="post-metadata">

**Author:** ![xwjiang2010](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/xwjiang2010/32/1476_2.png) [@xwjiang2010](https://discuss.ray.io/u/xwjiang2010)\
**Post date:** [August 8, 2022, 4:33pm UTC](https://discuss.ray.io/t/question-about-ray-python-ray-autoscaler-local-example-full-yaml/7123/2 "2022-08-08T16:33:58Z")

</div>

Hi @mabodx  
Thanks for posting this question.  
The python version is determined by the docker image you use. For example, “ray/ray-project:latest-gpu” is using [python 3.7.7](https://hub.docker.com/layers/ray-ml/rayproject/ray-ml/latest-gpu/images/sha256-731c7d2715456aa5043f77277b8bb68eab3d1adce6f9451c225d325513f53861?context=explore).

Is there any reason you want to run “ray start” on your work machine to manually join the cluster? Can it be part of the cluster with “ray up”?

cc @rickyyx

---

<div class="post-metadata">

**Author:** ![mabodx](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/mabodx/32/2981_2.png) [@mabodx](https://discuss.ray.io/u/mabodx)\
**Post date:** [August 9, 2022, 7:14am UTC](https://discuss.ray.io/t/question-about-ray-python-ray-autoscaler-local-example-full-yaml/7123/3 "2022-08-09T07:14:51Z")

</div>

because, I find out the work machine does not include in the cloud in the after launch the head.  
after I launch the head, it says

```auto
Next steps
  To connect to this Ray runtime from another node, run
    ray start --address='head_machine_ip:6382'

```

I check the work status, it is says

```auto
Healthy:
 1 local.cluster.node
Pending:
 worker_ip: local.cluster.node, waiting-for-ssh
Recent failures:
 (no failures)

```

---

<div class="post-metadata">

**Author:** ![jjyao](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/jjyao/32/1799_2.png) [@jjyao](https://discuss.ray.io/u/jjyao)\
**Post date:** [August 10, 2022, 4:50pm UTC](https://discuss.ray.io/t/question-about-ray-python-ray-autoscaler-local-example-full-yaml/7123/4 "2022-08-10T16:50:27Z")

</div>

Are you saying when you run `ray up cluster.yaml`, the worker node is pending forever so you have to manually run `ray start` to start one?

What’s your `cluster.yaml` setup: how many worker nodes are there?

---

<div class="post-metadata">

**Author:** ![mabodx](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/mabodx/32/2981_2.png) [@mabodx](https://discuss.ray.io/u/mabodx)\
**Post date:** [August 11, 2022, 5:07am UTC](https://discuss.ray.io/t/question-about-ray-python-ray-autoscaler-local-example-full-yaml/7123/5 "2022-08-11T05:07:35Z")

</div>

yes, there are only 1 worker in there.
