Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on clustering when switching nodepools #81

Open
kuzmik opened this issue Feb 13, 2025 · 0 comments
Open

Errors on clustering when switching nodepools #81

kuzmik opened this issue Feb 13, 2025 · 0 comments

Comments

@kuzmik
Copy link
Collaborator

kuzmik commented Feb 13, 2025

We ran a failover today that moved proxysql to a different nodepool, and the new one was not set to autoscale. This lead to having 2 pods be unscheduled, but the agent was still trying to cluster with those pods.

I thought there was code to prevent clustering if the pod doesn't have an IP yet, I will check on that.

Alternatively something is screwy with k8s, but I don't know what that'd be; pods should not be behind a service until they report healthy.

| 2025-02-13 13:55:58 MySQL_Monitor.cpp:4502:monitor_dns_resolver_thread(): [ERROR] An error occurred while resolving hostname:  [-2]                                      │
│ 2025-02-13 13:56:00 ProxySQL_Cluster.cpp:273:ProxySQL_Cluster_Monitor_thread(): [WARNING] Cluster: unable to connect to peer :6032 . Error: Can't connect to local serve │
│ 2025-02-13 13:56:02 ProxySQL_Cluster.cpp:273:ProxySQL_Cluster_Monitor_thread(): [WARNING] Cluster: unable to connect to peer :6032 . Error: Can't connect to local serve │
│ 2025-02-13 13:56:04 ProxySQL_Cluster.cpp:273:ProxySQL_Cluster_Monitor_thread(): [WARNING] Cluster: unable to connect to peer :6032 . Error: Can't connect to local serve │
│ 2025-02-13 13:56:06 ProxySQL_Cluster.cpp:273:ProxySQL_Cluster_Monitor_thread(): [WARNING] Cluster: unable to connect to peer :6032 . Error: Can't connect to local serve │
│ 2025-02-13 13:56:08 ProxySQL_Cluster.cpp:273:ProxySQL_Cluster_Monitor_thread(): [WARNING] Cluster: unable to connect to peer :6032 . Error: Can't connect to local serve │
│ 2025-02-13 13:56:08 [INFO] Received LOAD PROXYSQL SERVERS TO RUNTIME command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant