# Inconsistent node role display for the same configuration

**URL:** <https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449>\
**Category:** Elasticsearch\
**Created:** [January 14, 2022, 8:48pm UTC](https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449 "2022-01-14T20:48:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![co88liwan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/co88liwan/32/100345_2.png) [@co88liwan](https://discuss.elastic.co/u/co88liwan)\
**Post date:** [January 14, 2022, 8:48pm UTC](https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449/1 "2022-01-14T20:48:14Z")

</div>

Elasticsearch version: `7.16.2`

In our case, all data nodes in `elasticsearch.yml` file are configured as

```auto
node.roles: [data_hot, data_content,]

```

But running cat node in dev tool we see inconsistent node role display, some of the data nodes are marked as `d`, the rest is marked as `hs`, for example:

```auto
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
172.19.0.172 38 99 5 0.74 0.60 0.60 d - 172.19.0.214
172.19.0.166 27 99 10 0.54 0.83 0.94 hs - 172.19.0.166
....
....
....

```

Does anyone know the reason for this, thanks!

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 14, 2022, 9:32pm UTC](https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449/2 "2022-01-14T21:32:58Z")

</div>

Did you upgrade from an earlier version recently? If so, try another rolling restart.

---

<div class="post-metadata">

**Author:** ![co88liwan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/co88liwan/32/100345_2.png) [@co88liwan](https://discuss.elastic.co/u/co88liwan)\
**Post date:** [January 14, 2022, 10:55pm UTC](https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449/3 "2022-01-14T22:55:16Z")

</div>

Hi @DavidTurner

Yes, we upgraded from version 7.6.x. Thanks for your suggestion, will have a try (tried, it works!).

Do you know the possible reason why this happened? Kind of curious.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 15, 2022, 10:24am UTC](https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449/4 "2022-01-15T10:24:26Z")

</div>

I think there's a small bug that affects upgrades from very old versions in this way, depending on the order in which nodes were upgraded.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 12, 2022, 10:24am UTC](https://discuss.elastic.co/t/inconsistent-node-role-display-for-the-same-configuration/294449/5 "2022-02-12T10:24:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
