state: cleanupRemovedUnit broken for any unit with completed actions
Bug #1640608 reported by
Tim Penhey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Tim Penhey | ||
2.0 |
Fix Released
|
High
|
Tim Penhey |
Bug Description
The code looks for all actions for the specified unit.
It then marks them as finished with the reason of "unit removed", but the assertion is that the action is not completed, but this isn't checked before we try.
This leads to the cleanup never being removed from the DB.
Among other things, this will prevent the model from being migrated.
Changed in juju: | |
milestone: | none → 2.1.0 |
no longer affects: | juju/2.1 |
Changed in juju: | |
assignee: | nobody → Tim Penhey (thumper) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | 2.1.0 → 2.1-beta3 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
PR: https:/ /github. com/juju/ juju/pull/ 6597