# Error : environment is not locked in 3 node Kubernetes Elastic Deployment

**URL:** <https://discuss.elastic.co/t/error-environment-is-not-locked-in-3-node-kubernetes-elastic-deployment/338085>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [July 11, 2023, 9:42am UTC](https://discuss.elastic.co/t/error-environment-is-not-locked-in-3-node-kubernetes-elastic-deployment/338085 "2023-07-11T09:42:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brusque.sowers](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@brusque.sowers](https://discuss.elastic.co/u/brusque.sowers)\
**Post date:** [July 11, 2023, 9:42am UTC](https://discuss.elastic.co/t/error-environment-is-not-locked-in-3-node-kubernetes-elastic-deployment/338085/1 "2023-07-11T09:42:45Z")

</div>

We have a 3 node Elastic deployment on Kubernetes.  
We encountered the following error in elastic Logs :  
elasticsearch.node.id":"LMHIgOg6RrWkCRWFY5QyZQ","elasticsearch.node.name":"elasticsearch-0.es-service","elasticsearch.cluster.name":"docker-cluster","error.type":"java.lang.IllegalStateException","error.message":"environment is not locked","error.stack\_trace":"java.lang.IllegalStateException: environment is not locked .

Can you help in identifying the exact cause of the issue ? Is it something related with the memory being utilized by elastic ? or any other issue ?

---

<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:** [July 11, 2023, 9:51am UTC](https://discuss.elastic.co/t/error-environment-is-not-locked-in-3-node-kubernetes-elastic-deployment/338085/2 "2023-07-11T09:51:10Z")

</div>

I think that's not the whole log message, and the bits you have elided are the bits that identify the exact cause of the issue.

---

<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:** [August 8, 2023, 9:51am UTC](https://discuss.elastic.co/t/error-environment-is-not-locked-in-3-node-kubernetes-elastic-deployment/338085/3 "2023-08-08T09:51:44Z")

</div>

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