Hello SonarQube Community,
I recently upgraded my SonarQube instance from version 10.6 to 10.8.1 on Kubernetes (AKS). After upgrading, I encountered issues with the SonarQube pods, and they are failing to start due to the following errors in the pod logs:
-
Startup Probe Failure:
Startup probe failed: Get "http://10.244.8.240:9000/api/system/status": dial tcp 10.244.8.240:9000: connect: connection refused
-
Readiness Probe Failure:
Readiness probe failed: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
This issue appears to occur right after the upgrade. Previously, everything worked fine with version 10.6.
Environment Details:
- SonarQube Version: 10.8.1
- Kubernetes Version: 1.29.4
- Helm Chart Version: Latest (sonarqube/sonarqube)
- Ingress Controller: NGINX
- Database: PostgreSQL (hosted on Azure)
Actions Taken:
- Verified the database connection and confirmed it is properly configured.
- Checked SonarQube logs and verified the startup and readiness probes are pointing to the correct endpoints.
- Restarted the pods multiple times, but the issue persists.
Error Logs from Pod:
Startup probe failed: Get "http://10.244.8.240:9000/api/system/status": dial tcp 10.244.8.240:9000: connect: connection refused
Readiness probe failed: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Questions:
- Is this issue related to the changes made in the default
ingress.ingressClassName
from the Helm chart after the upgrade to 10.8.1? - Are there any additional configuration changes needed in version 10.8.1 for the probes to pass, especially related to ingress or service configurations?
- How can I further troubleshoot or resolve these probe failures?
Thank you,
Tanish