service unit deployment removal should clean up unit workflow state files
Bug #731691 reported by
Kapil Thangavelu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Kapil Thangavelu |
Bug Description
as well as unit relation workflows. jim and i discussed this.. at minimum we'll just remove unit internal id prefixed files from the state directory.
Related branches
lp:~hazmat/pyjuju/global-unit-name-uniqueness
- Gustavo Niemeyer: Approve
-
Diff: 59 lines (+26/-4)2 files modifiedensemble/state/tests/test_topology.py (+20/-0)
ensemble/state/topology.py (+6/-4)
Changed in ensemble: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | Confirmed → In Progress |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Particularly this causes a problem when destroying a service and then redeploying a new service with the same name and the same unit name to a particular machine, as the agent will pickup the old on disk files as its current state.