find-endpoints errors when application is removed

Bug #1702901 reported by Richard Harding
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

Using the CMR feature flag:

I've deployed mysql into one model, created an offer, and used it in two other models.

When I remove the application (I broke it and hit an error state) I could remove the application just find but then find-endpoints errors. I have other offers available and so having one removed causes total failure of output in the command.

On top of that the status of my applications that were using the offered endpoint have no status change and appear as if they're working. The SaaS line in juju status should at least show the issue to the consumer and it seems that there should be some sort of relation breaking events triggered on the related applications so that the charms can process the loss of the relation endpoint.

Revision history for this message
Ian Booth (wallyworld) wrote :

RE: surfacing the status of offered applications and propagating to related apps etc - this bit is not done yet but will be soon hopefully

Revision history for this message
Ian Booth (wallyworld) wrote :

When removing an application, it should (but doesn't yet) warn if there are any offers using that application. Removing the application should be blocked until the offer is deleted.

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.3-alpha1
importance: Undecided → High
status: New → In Progress
assignee: nobody → Ian Booth (wallyworld)
Revision history for this message
Ian Booth (wallyworld) wrote :

This PR makes list-offers robust to bad offer data
https://github.com/juju/juju/pull/7610

Revision history for this message
Ian Booth (wallyworld) wrote :

The find-endpoints processing has been fixed; usability improvements like not deleting app if there is an offer etc deferred as this stuff is WIP

Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
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.