Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarqube startup problem when redeployed for the second time #14

Open
saikirandusari opened this issue Feb 22, 2019 · 4 comments
Open

Comments

@saikirandusari
Copy link

I have provisioned Sonarqube on OpenShift platform, the first deployment is always successful when I create using the Sonarqube template (Sonarqube and Postgres containers will spin up with no errors), only when the container restarts/when redeployed it fails with below error. Please help. Stuck for a while now.

java.lang.IllegalStateException: ClusterService was close during health call

  | at org.elasticsearch.action.admin.cluster.health.TransportClusterHealthAction$3.onClusterServiceClose(TransportClusterHealthAction.java:180)
  | at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onClusterServiceClose(ClusterStateObserver.java:304)
  | at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onClose(ClusterStateObserver.java:224)
  | at org.elasticsearch.cluster.service.ClusterService.doStop(ClusterService.java:230)
  | at org.elasticsearch.common.component.AbstractLifecycleComponent.stop(AbstractLifecycleComponent.java:88)
  | at org.elasticsearch.node.Node.stop(Node.java:787)
  | at org.elasticsearch.node.Node.close(Node.java:809)
  | at org.apache.lucene.util.IOUtils.close(IOUtils.java:89)
  | at org.apache.lucene.util.IOUtils.close(IOUtils.java:76)
  | at org.elasticsearch.bootstrap.Bootstrap$4.run(Bootstrap.java:209)
  | 2019.02.23 00:04:21 WARN app[][o.s.a.p.AbstractProcessMonitor] Process exited with exit value [es]: 143
  | 2019.02.23 00:04:21 INFO app[][o.s.a.SchedulerImpl] Process [es] is stopped
  | 2019.02.23 00:04:21 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped

@flickerfly
Copy link

Did you ever figure this out?

@maxirobledo
Copy link

Hi! I encountered the same problem. You have solved the problem?

@flickerfly
Copy link

Hi! I encountered the same problem. You have solved the problem?

Sorry, I don't remember how this was handled, but I don't see it outside OpenShift so I'm betting it has something to do with the way OpenShift handles UID. We may have just set a static idea and stepped away from the dynamic UID.

https://xkcd.com/979/

@maxirobledo
Copy link

Tanks for reply to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants