cross model breakage
Bug #1768682 reported by
james beedy
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
Hitting a string of different issues with CMR.
1) Models who consume CMR offers never die ( I think this is because I can't seem to remove the offer)
$ for i in `juju models | grep destroying | awk '{ print $1 }'`; do juju status -m $i >> myfile; done
$ cat myfile | pastebinit
http://
2) Consuming model says there is an offer even after I remove it http://
3) Providing model shows connected when no clients are connected http://
description: | updated |
description: | updated |
Changed in juju: | |
milestone: | none → 2.3.8 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in juju: | |
milestone: | 2.3.8 → 2.3.9 |
Changed in juju: | |
milestone: | 2.3.9 → 2.3.10 |
tags: | added: cross-model |
Changed in juju: | |
milestone: | 2.3.10 → none |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
A general comment without digging in too deeply...
To remove an offer, it can't have any connections (relations) to the offer. You can supply the --force flag to remove an offer and any existing relations.
Models won't die if there are any offers, applications, units, relations etc which cannot be removed. An application can't be removed if there exist offers for the application. The offer needs to be removed first. There may need to be UX improvement here.
In issue #3, how do you know no clients are connected? What does "juju offers" print? What will list the connections for the offers in a model.
In issue #2, the consuming model's SAAS application proxy is not removed when the offer is removed. This needs to be done by the user operating that model using "juju remove- application" . But I think the SAAS item does show up as "blocked" to indicate that the consumed offer is no longer valid. Note that the consuming model does not show the offer in status. The consuming model creates a proxy to the offered application which presents the exported endpoints as available for relations. This application proxy receives events from the application on the offering side.