Comment 13 for bug 1871898

Revision history for this message
Ian Booth (wallyworld) wrote : Re: [2.7.5] Stale CMR offers causing model to not destroy properly

One of the causes here I think is the issue described in bug 1879645.

The issue is that removing a relation on the consuming side may not, depending on timing, send all events needed to the offering side to allow it to remove the relation from its model. If you run juju offers you can see the relation id numbers and use juju remove-relation <id> --force to get rid of them.

The destroy-model operation suffers from the same issue I think - it stops the workers processing the relation removal before all events can be sent to the offering side. This is potentially harder to fix. Here's a fix to at least make remove-relation more robust in getting both consumer and offer models to notice the relation is gone

https://github.com/juju/juju/pull/11627