Comment 4 for bug 1976311

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

# now it fails
juju remove-offer admin/test.ovn-dedicated-chassis
> ERROR cannot delete application offer "ovn-dedicated-chassis": offer has 1 relation

When did you run this command? Did you give the relation time to be fully torn down? For the relation to disappear, both the offering and consuming sides need to run the relation departed/broken hooks, and if there's an error doing that, the relation will remain.

Did either the offering or consuming sides show any charm hook errors for the relevant units? A show-status-log should show that the hooks have been run.

On the offering and consuming model, status --format yaml would show if the relation in question has life = 1 ("dying"). If so, that indicates that the hooks have failed to run properly.

Did the controller logs have any errors shown?