i am trying to use the latest sonarqube image (7.9-community) on openshift.
i saw a similar issues #254 (https://github.com/SonarSource/docker-sonarqube/issues/254) with similar problem (tried optional solutions in #254)
bottom line, after OpenShift pulling the image the pod seem to crush after few seconds with this log:
tail: cannot open ‘./logs/es.log’ for reading: No such file or directory
2019.09.08 06:53:26 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2019.09.08 06:53:26 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2019.09.08 06:53:27 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2019.09.08 06:53:27 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2019.09.08 06:53:27 INFO app[o.e.p.PluginsService] no modules loaded
2019.09.08 06:53:27 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2019.09.08 06:53:28 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
2019.09.08 06:53:28 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2019.09.08 06:53:28 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
I don’t think it’s a permission issue (using the tips from issue #254) and i don’t think it’s something with the ElasticSearch memory because don’t have any limitation here.
i know that you don’t support openshift but i saw here that users in the community using sonarqube on openshift successfully.
I’m having trouble getting mine to work.
Much appreciated help!