We deployed sonarqube in 3 node microk8s kubernetes cluster and recently upgraded to version 10.2.1(community edition). There was removal of one node in cluster and sinarqube scheduled in another node after which we got below issue.
ERROR es[o.e.b.Elasticsearch] fatal exception while booting Elasticsearch
java.lang.IllegalStateException: failed to obtain node locks, tried [/opt/sonarqube/data/es8]; maybe these locations are not writable or multiple nodes were started
on the same data path?
Please help in resolving this issue