New unit stuck on 'shared-db' incomplete

Bug #2058552 reported by Jake Nabasny
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Magnum Charm
Expired
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-mysql-router:shared-db magnum:shared-db
juju relate magnum-mysql-router:shared-db magnum:shared-db

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-cluster:shared-db magnum:shared-db

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

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

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?

Changed in charm-magnum:
status: New → Incomplete
Revision history for this message
Jake Nabasny (slapcat) wrote :

Hi Alex - By migrate I meant using "lxc mv" to move the container from one host to another. I don't currently have my lab up to provide the other outputs, but I will try to get them for you.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Magnum Charm because there has been no activity for 60 days.]

Changed in charm-magnum:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.