Unable to remove an offer, claiming removed relation still exists
Bug #1813886 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Tim McNamara |
Bug Description
Attempting to destroy a k8s application, I first need to remove its offer, which fails:
$ juju remove-relation postgresql:db directory-db
$ juju remove-offer admin/modelname
ERROR cannot delete application offer "directory-db": offer has 1 relation
Juju status in both models show that no relations exist.
This is Juju 2.5.1-bionic-amd64 from 2.5/edge, testing cross model relations between a k8s model and a local model with a local lxd controller and microk8s.
Changed in juju: | |
milestone: | 2.5.2 → 2.5.3 |
Changed in juju: | |
milestone: | 2.5.3 → 2.5.4 |
Changed in juju: | |
milestone: | 2.5.4 → 2.5.5 |
Changed in juju: | |
milestone: | 2.5.6 → 2.5.8 |
Changed in juju: | |
assignee: | nobody → Tim McNamara (tim-clicks) |
milestone: | 2.5.8 → 2.6.3 |
Changed in juju: | |
assignee: | Tim McNamara (tim-clicks) → nobody |
Changed in juju: | |
assignee: | nobody → Tim McNamara (tim-clicks) |
Changed in juju: | |
milestone: | 2.6.3 → 2.6.4 |
Changed in juju: | |
status: | Triaged → In Progress |
tags: | added: juju-k8s |
tags: |
added: k8s removed: juju-k8s |
Changed in juju: | |
milestone: | 2.6.4 → 2.6.5 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
juju destroy-model hangs, and there is no --force option, so cleanup requires destroying the controller.
This model may have been stuck due to https:/ /bugs.launchpad .net/juju/ +bug/1813884, but the error message is still clearly incorrect and indicates inconsistent state.