# After adding Nodes to a Cluster - common Users cannot authenticate on said nodes

**URL:** <https://discuss.elastic.co/t/after-adding-nodes-to-a-cluster-common-users-cannot-authenticate-on-said-nodes/299419>\
**Category:** Elasticsearch\
**Created:** [March 11, 2022, 9:10am UTC](https://discuss.elastic.co/t/after-adding-nodes-to-a-cluster-common-users-cannot-authenticate-on-said-nodes/299419 "2022-03-11T09:10:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moritz\_Kiesewetter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/moritz_kiesewetter/32/51243_2.png) [@Moritz\_Kiesewetter](https://discuss.elastic.co/u/Moritz_Kiesewetter)\
**Post date:** [March 11, 2022, 9:10am UTC](https://discuss.elastic.co/t/after-adding-nodes-to-a-cluster-common-users-cannot-authenticate-on-said-nodes/299419/1 "2022-03-11T09:10:17Z")

</div>

Hi Everyone,

i'm currently running a 3 Node Cluster, each Node is running CentOS 7.  
The Version of all the components is 7.15.

We added 2 new nodes - because the old "Data Storing" Nodes were set up without lvm and the Diskspace was getting small.

I can see that those 2 nodes are definitly welcomed in the cluster itsself:

```auto
10.28.99.71 28 97 71 1.75 1.10 0.67 ilmr * ***suelk01
10.28.99.66 34 99 26 4.01 4.34 4.74 cdfhilrstw - ***suelk04
10.28.99.67 60 99 14 2.52 1.66 0.87 cdfhilrstw - ***suelk05

```

I checked for errors in logs for FIlebeat etc, and saw that there was a authentication error for a User on each of those new nodes. Once i checked the nodes with:

```auto
[root@mtxsuelk05 bin]# ./elasticsearch-users list
No users found

```

If i do the same on the master node:

```auto
[root@mtxsuelk01 bin]# ./elasticsearch-users list
xxxxx : kibana_admin,superuser
xxxxx : remote_monitoring_collector
xxxxx : kibana_admin,superuser
xxxxx : superuser

```

I know that those credentials are stored in the .security Index - but i cannot figure out why this index is not synced to the new nodes? Any ideas?

If i can provide any .yml files let me know  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![casterQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casterq/32/93257_2.png) [@casterQ](https://discuss.elastic.co/u/casterQ)\
**Post date:** [March 11, 2022, 9:38am UTC](https://discuss.elastic.co/t/after-adding-nodes-to-a-cluster-common-users-cannot-authenticate-on-said-nodes/299419/2 "2022-03-11T09:38:33Z")

</div>

here is the doc, this is `file-based` users but not `index-based`，you should ensure the same users are defined on every node in the cluster

> **[File-based user authentication | Elasticsearch Guide \[8.1\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/file-realm.html)**

---

<div class="post-metadata">

**Author:** ![Moritz\_Kiesewetter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/moritz_kiesewetter/32/51243_2.png) [@Moritz\_Kiesewetter](https://discuss.elastic.co/u/Moritz_Kiesewetter)\
**Post date:** [March 11, 2022, 1:05pm UTC](https://discuss.elastic.co/t/after-adding-nodes-to-a-cluster-common-users-cannot-authenticate-on-said-nodes/299419/3 "2022-03-11T13:05:51Z")

</div>

Kinda feel dumb but ye - synching those files worked. Thanks a lot

---

<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:** [April 8, 2022, 1:06pm UTC](https://discuss.elastic.co/t/after-adding-nodes-to-a-cluster-common-users-cannot-authenticate-on-said-nodes/299419/4 "2022-04-08T13:06:23Z")

</div>

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