You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a test Vitess Cluster in EKS and have run into an issue when adding static authentication to the vtgate moving from --mysql_auth_server_impl=none to --mysql_auth_server_impl=static (+ the file and the reload interval), namely 1 of the 2 vttablets begins bootlooping.
Worth noting that
a) the config between vttablets is identical other than being deployed to different zones
b) if I remove the second vttablet and leave just the first, the same failure behaviour is now observed on the first, and when I add the 2nd tablet back, it moves the failure to the 2nd tablet.
The tablet that is working has the following in the describe output
The following is output from kubectl describe for
there are logs mentioning that /vt/socket/mysql.sock is missing on the vttablet that has errors, that is correct, only mysqlctl.sock is present in /vt/socket directory, but at the same time the mysqld server is running, makes a socket on 3306 which is reachable from outside the pod and the process on the pod is seen running
the vitess user is not present on the mysqld container, so it shows UID 999 for the files in /vt/socket (this may not be a problem per se, the UID is correct)
The text was updated successfully, but these errors were encountered:
Hi @dan-frincu-udemy, thanks for opening this. Do you have a reproduction for this issue? It would be ideal if you could open a PR / have a branch, with a script that reproduces that on Kind or Minikube.
I am running a test Vitess Cluster in EKS and have run into an issue when adding static authentication to the vtgate moving from
--mysql_auth_server_impl=none
to--mysql_auth_server_impl=static
(+ the file and the reload interval), namely 1 of the 2 vttablets begins bootlooping.This is the vtgate config https://gist.github.com/dan-frincu-udemy/2ab3797a01ce82438602789089da7ca4
Working vttablet config https://gist.github.com/dan-frincu-udemy/0767a9636030db953bb0e5685540f825
Failing vttablet config https://gist.github.com/dan-frincu-udemy/1a1736217ddcca1157e96063be89f1d4
Worth noting that
a) the config between vttablets is identical other than being deployed to different zones
b) if I remove the second vttablet and leave just the first, the same failure behaviour is now observed on the first, and when I add the 2nd tablet back, it moves the failure to the 2nd tablet.
The tablet that is working has the following in the describe output
The following is output from
kubectl describe
forBecause of the bootlooping of the tablet, we get 2 different kinds of logs, the 2nd one is potentially more relevant
The mysql log https://gist.github.com/dan-frincu-udemy/629c75973f9bebe7036b1eb31b2ef5f6
Other observations:
mysqlctl.sock
is present in/vt/socket
directory, but at the same time the mysqld server is running, makes a socket on 3306 which is reachable from outside the pod and the process on the pod is seen running/vt/socket
(this may not be a problem per se, the UID is correct)The text was updated successfully, but these errors were encountered: