New unit stuck on 'shared-db' incomplete
This bug report will be marked for expiration in 15 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Magnum Charm |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
== Summary ==
After migrating a magnum unit in a LXD container to new hardware, it became stuck in 'shared-db' incomplete status. Attempting to `juju add-unit` additional units resulted in the same error. Magnum is currently related to the mysql db through the mysql-router subordinate charm, so we attempted to refresh the relation by removing and readding it:
juju remove-relation magnum-
juju relate magnum-
This step led to all existing units now showing the "'shared-db' incomplete" error.
== Workaround ==
We were able to resolve the error by relating magnum directly to the mysql db:
juju relate mysql-innodb-
However, this shouldn't be necessary since the mysql-router exists on the magnum units. There seems to be a bug in magnum's integration with the mysql-router.
== Versions ==
Ubuntu 20.04 and 22.04
OpenStack Yoga
magnum 14.1.1 rev 42
magnum-hacluster 2.0.3 rev 131
magnum-mysql-router 8.0.36 rev 137
Unfortunately, there's not enough information in the bug to diagnose the error. Please could you add the juju logs from the magnum unit, and the associated mysql-router, and "juju show-unit" for both the magnum unit, and the mysql-router. the juju status for the model would also be useful.
Also, when you say "migrate" do you mean "add-unit" "remove-unit" or something else?