Hello,
I have recently deployed sonarqube helm chart 10.2.0-community on EKS cluster and everything is working fine
Now we are migrating the AWS account to a new one with ipv6 (with backup/restore of the database), I have then reinstalled the same chart on this new account and I encounter a problem with the startup/liveness/readiness probes being KO and the pod reboot all the time.
Readiness probe failed:
Liveness probe failed:
I don’t see any problem in the logs.
From inside the pod, I have noticed this:
wget http://[2a04:1f41:0:6:4325::2]:9000/api/system/status
--2024-01-16 23:01:31-- http://[2a04:1f41:0:6:4325::2]:9000/api/system/status
Connecting to [2a04:1f41:0:6:4325::2]:9000... connected.
HTTP request sent, awaiting response... 200
Length: unspecified [application/json]
status: Permission denied
Cannot write to ‘status’ (Permission denied).
wget --timeout=30 --header="X-Sonar-Passcode: $SONAR_WEB_SYSTEMPASSCODE" "http://[2a04:1f41:0:6:4325::2]:9000/api/system/liveness"
--2024-01-16 23:03:43-- http://[2a04:1f41:0:6:4325::2]:9000/api/system/liveness
Connecting to [2a04:1f41:0:6:4325::2]:9000... connected.
HTTP request sent, awaiting response... 204
2024-01-16 23:03:43 (0.00 B/s) - ‘liveness’ saved [0]
whereas the liveness command:
wget --quiet -O /dev/null --timeout=30 --header="X-Sonar-Passcode: $SONAR_WEB_SYSTEMPASSCODE" "http://[2a04:1f41:0:6:4325::2]:9000/api/system/liveness"
does not return anything fro inside the pod.
The settings I have changed to install on the new account to be ipv6 compliant:
env:
- name: SONAR_WEB_JAVAOPTS
value: "-Djava.net.preferIPv4Stack=false"
- name: SONAR_WEB_HOST
value: "[::]"
I have also tried to increase probes timeout.
Am I missing anything?
Best regards!