# Can't join cluster after changing node role

**URL:** <https://discuss.elastic.co/t/cant-join-cluster-after-changing-node-role/360263>\
**Category:** Elasticsearch\
**Created:** [May 27, 2024, 8:04am UTC](https://discuss.elastic.co/t/cant-join-cluster-after-changing-node-role/360263 "2024-05-27T08:04:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![avnere](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@avnere](https://discuss.elastic.co/u/avnere)\
**Post date:** [May 27, 2024, 8:04am UTC](https://discuss.elastic.co/t/cant-join-cluster-after-changing-node-role/360263/1 "2024-05-27T08:04:27Z")

</div>

Hi,

I had cluster with 1 master + 2 data hot + 1 data content.

After changing node role of data hot node to data\_hot, data\_content and performing restart, the node is not joining the cluster due:

> master not discovered yet: have discovered

When I reverting back to data\_hot it is joining properly.

How can I add data\_content role to the data\_hot role?
