destroy-model does not work when charm is stuck in upgrading state
Bug #1671476 reported by
Sandor Zeestraten
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Anastasia |
Bug Description
# Versions
Juju 2.1.1
MAAS 2.1.3
# Issue
Destroying a model which contains a charm stuck in a permanent upgrading state (see #1671428) does not work.
Running "juju destroy-model" will simply hang while outputting "Waiting on model to be removed, ..."
remove-application, remove-unit and remove-machine do not work.
# Workaround
Killing the controller is the only thing that worked.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.2.0 |
Changed in juju: | |
milestone: | 2.2-beta2 → 2.2-beta3 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
bug #1671428 is a special case because the database itself was corrupted for the information about the charm. We cannot change anything related to the unit because the database records themselves are broken.
If it is still true that a unit that has a hook error is able to block destroy-model, then we should address this more significantly.