Failed to obtain node locks

As @Tobias_Trabelsi mentioned you need to remove es7 folder in node lock situation, I just handle that by defining new extraInitContainer:

extraInitContainers: 
  - name: "fix-elastic-error-lock-issue"
      image: "busybox"
      imagePullPolicy: "IfNotPresent"
      command: ["rm", "-rf", "/opt/sonarqube/data/es7"]
      volumeMounts:
        - mountPath: /opt/sonarqube/data
          name: sonarqube
          subPath: es7
4 Likes