# Problem with Kibana creation and roles on Elasticsearch nodes

**URL:** <https://discuss.elastic.co/t/problem-with-kibana-creation-and-roles-on-elasticsearch-nodes/319062>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [November 16, 2022, 11:08am UTC](https://discuss.elastic.co/t/problem-with-kibana-creation-and-roles-on-elasticsearch-nodes/319062 "2022-11-16T11:08:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccaillet](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@ccaillet](https://discuss.elastic.co/u/ccaillet)\
**Post date:** [November 16, 2022, 11:08am UTC](https://discuss.elastic.co/t/problem-with-kibana-creation-and-roles-on-elasticsearch-nodes/319062/1 "2022-11-16T11:08:56Z")

</div>

HI all,

First post so be patient with me 🙂

So let the music pay on ...

I've created an Elasticsearch cluster with ECK version 2.5 no problem during Elasticsearch creation with the following manifest

```auto
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: preprod
  namespace: elastic-system
spec:
  version: 8.5.0
  nodeSets:
  - name: "master"
    count: 3
    config:
      node.roles: ["master"]
    volumeClaimTemplates:
    - metadata:
        name: elasticsearch-data
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 4Gi
        storageClassName: lyo0-oc5k-nfs
  - name: ingest
    count: 3
    volumeClaimTemplates:
    - metadata:
        name: elasticsearch-data # Do not change this name unless you set up a volume mount for the data path.
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 4Gi
        storageClassName: lyo0-oc5k-nfs
    config:
      node.roles: ["ingest"]
  - name: data-hot
    count: 3
    volumeClaimTemplates:
    - metadata:
        name: elasticsearch-data # Do not change this name unless you set up a volume mount for the data path.
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 16Gi
        storageClassName: lyo0-oc5k-nfs
    config:
      node.roles: ["data_hot"]
  - name: data-warm
    count: 3
    volumeClaimTemplates:
    - metadata:
        name: elasticsearch-data # Do not change this name unless you set up a volume mount for the data path.
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 32Gi
        storageClassName: lyo0-oc5k-nfs
    config:
      node.roles: ["data_warm"]

```

But when I create a kibana instance with the following manifest

```auto
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: preprod
  namespace: elastic-system
spec:
  version: 8.5.0
  count: 1
  elasticsearchRef:
    name: preprod
    namespace: elastic-system
  http:
    tls:
      selfSignedCertificate:
        disabled: true
  config:
    server.publicBaseUrl: https://xxxxx.xxxx.xxxx.sample.com

```

Elasticsearch go to red status and the only way to retrieve the green status for my Elastic cluster is to assign the data role to nodes master and ingest.

Is it normal ?

Thanks by advance for your replies.

---

<div class="post-metadata">

**Author:** ![ccaillet](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@ccaillet](https://discuss.elastic.co/u/ccaillet)\
**Post date:** [November 17, 2022, 10:36am UTC](https://discuss.elastic.co/t/problem-with-kibana-creation-and-roles-on-elasticsearch-nodes/319062/2 "2022-11-17T10:36:37Z")

</div>

OK for those who read this tread after opening an issue on ECK Github I've the solution :

the role data\_content is missing on at least one node. So on the previous manifest I've added the data\_content role on nodesets data-hot and data-warm which solved the issue.

Regards

---

<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:** [December 15, 2022, 10:37am UTC](https://discuss.elastic.co/t/problem-with-kibana-creation-and-roles-on-elasticsearch-nodes/319062/3 "2022-12-15T10:37:16Z")

</div>

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