-
Notifications
You must be signed in to change notification settings - Fork 3
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
Test for router removed from cluster set can lead to false positive #118
Comments
@paulomach is mysql router on the same machine as mysql? I'm wondering how editing /etc/hosts on mysql machine affects the router's id |
@carlcsaposs-canonical , thanks for chiming in. I can confirm that removing the When the (Edited) |
It is interesting to note that on the mysql host (also without the |
@jamesbeedy what does |
Steps to reproduce
127.0.1.1
from/etc/hosts
file (workaround mysql-operator#433)Expected behavior
Router should be able to connect to mysql
Actual behavior
Router fail with
Router was manually removed from MySQL ClusterSet. Remove & re-deploy unit
Versions
mysql 8.0/edge
mysql-router dpe/edge
Juju CLI: 3.4.1
Additional context
The test
is_router_in_cluster_set
@src/workload.py
fails due the router_id being different on cluster set metadata and router_id property.On the cluster:
on the router machine:
The text was updated successfully, but these errors were encountered: