Already bootstraped with name <name> use force
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Router Charm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In [0], the nova-mysql-router/1 unit attempted to bootstrap but failed in the first attempt due to a race with the cluster adding the mysqlrouter user.
Failed to bootstrap mysqlrouter: Error: Unable to connect to the metadata server: Error connecting to MySQL server at 172.17.110.20:0: Access denied for user 'mysqlrouteruse
Then subsequent attempts failed with:
Failed to bootstrap mysqlrouter: # Bootstrapping MySQL Router instance at '/var/lib/
Error: It appears that a router instance named 'nova-mysql-router' has been previously configured in this host. If that instance no longer exists, use the --force option to overwrite it.
description: | updated |
Changed in charm-mysql-router: | |
status: | New → Fix Committed |
milestone: | none → 21.04 |
no longer affects: | charm-mysql-innodb-cluster |
Changed in charm-mysql-router: | |
status: | Fix Committed → Fix Released |
Fix: https:/ /review. opendev. org/c/openstack /charm- mysql-router/ +/781923