'shared-db' incomplete after juju upgrade

Bug #1968686 reported by Shunde Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Percona Cluster Charm
Invalid
Undecided
Unassigned

Bug Description

percona-cluster was deployed in Juju 2.8 with charm r279. Then Juju and the model were upgraded to 2.9.22, and trilio was deployed. However trilio application got 'shared-db' incomplete message in juju status. The fix is to upgrade percona-cluster charm to r302.

juju upgrade-charm mysql --revision 302

If the error message still exists, just need to remove shared-db relation and add it again.

Tags: sts
description: updated
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Going to need a lot more information to even have a chance at debugging this. e.g. logs from affected units, and juju itself, model that was deployed, etc.

Please note that r302 on charmhub is the stable 21.10 charm, which may or may.

Changed in charm-percona-cluster:
status: New → Incomplete
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Please also see: https://docs.openstack.org/charm-guide/latest/community/software-bug.html re: information we need to be able to diagnose issues. Thanks.

Revision history for this message
Shunde Zhang (shunde-zhang) wrote :

This is similar to LP#1968688.
I think this issue is due to the old percona-cluster charm (r279) not compatible with new Juju (2.9.x).
To reproduce,
- deploy juju controller 2.8 and add a new 2.8 model
- deploy percona-cluster r279
- upgrade juju controller and model to 2.9.x
- deploy a new application, e.g. trilio, which has a relation with percona-cluster
- trilio fails to run some hook and ends up with 'shared-db' incomplete message in juju status
So we need to upgrade percona-cluster charm to r302.
Then trilio can finish db relation hook after a while.
If not, remove shared-db relation and add it again.
Again probably not worth updating the old charm to work with new juju.
Just put a note here for others who meet the same issue.

Changed in charm-percona-cluster:
status: Incomplete → Invalid
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.