[CMR - 2.7.7] remove-relation causes the offer to be terminated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth | ||
2.8 |
Fix Released
|
High
|
Ian Booth | ||
OpenStack Percona Cluster Charm |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Hello,
Problem:
When relating MySQL and Vault using CMR if the relation is removed the offer goes into a 'terminated' state.
Details:
ubuntu@
ubuntu@
ERROR cannot add relation "vault:shared-db mysql:shared-db": remote offer mysql is terminated
ubuntu@
ERROR cannot add relation "vault:shared-db mysql:shared-db": remote offer mysql is terminated
ubuntu@
ERROR cannot add relation "vault:shared-db mysql:shared-db": remote offer mysql is terminated
ubuntu@
Looking at juju status, I can see that mysql flip/flops between "active" and terminated, attempting to remove the mysql offer throws another error:
ubuntu@
ERROR cannot delete application offer "mysql-shared-db": offer has 2 relations
ubuntu@
Steps to reproduce:
1. Deploy CMR bundle with MySQL in one model and vault in another with saas offers and consumers. (See bundles below)
2. Wait for the cluster to settle
3. Remove the relation between vault and mysql (watch "juju remove-relation vault mysql")
4. The relation should remove successfully
5. Attempt to re-add the relation.
I was unable to remove the offer and re-add, but the relation never re-forms.
Bundles here:
https:/
Workaround:
None at the time of writing.
Changed in juju: | |
assignee: | nobody → Ian Booth (wallyworld) |
Changed in juju: | |
status: | Incomplete → In Progress |
importance: | Undecided → High |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Subscribing field critical