ods-core icon indicating copy to clipboard operation
ods-core copied to clipboard

SQ liveness probe missing

Open michaelsauter opened this issue 3 years ago • 5 comments

There is no livenessProbe configured for SonarQube, only a readiness probe. The liveness probe should depend on a working database connection, we have seen this to be broken.

Readiness probe is defined here: https://github.com/opendevstack/ods-core/blob/master/sonarqube/ocp-config/sonarqube.yml#L314-L323

michaelsauter avatar Jun 28 '21 12:06 michaelsauter

hi @michaelsauter I will take a look into this for ODS 4.2.0

gerardcl avatar Feb 14 '22 08:02 gerardcl

thanks to @braisvq1996 to provide https://next.sonarqube.com/sonarqube/web_api <- will try to approach the fix via this API

gerardcl avatar Feb 14 '22 08:02 gerardcl

@michaelsauter FYI will try to close this issue via https://github.com/opendevstack/ods-core/pull/1096

gerardcl avatar Feb 21 '22 16:02 gerardcl

we will need to add a section in the admin docs that when upgrading sonarqube one needs to disable the probes

gerardcl avatar Mar 15 '22 15:03 gerardcl

We can make use of this endpoint https://next.sonarqube.com/sonarqube/web_api/api/system/status as it does not need of any credential

image

BraisVQ avatar Aug 11 '22 13:08 BraisVQ