unit workflows stop/start inappropriately
Bug #903017 reported by
William Reade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
William Reade |
Bug Description
The unit agent should not transition unit workflows to "stopped" just because the agent process happens to be shutting down (and equally, should not restart "stopped" workflows just because the agent process happens to be starting up.
Related branches
lp://staging/~fwereade/pyjuju/dont-stop-workflows
- Benjamin Saller (community): Approve
- Kapil Thangavelu (community): Approve
-
Diff: 1865 lines (+861/-394)11 files modifieddocs/source/internals/unit-workflow-lifecycle.rst (+138/-0)
juju/agents/tests/test_unit.py (+75/-25)
juju/agents/unit.py (+10/-12)
juju/hooks/scheduler.py (+4/-0)
juju/hooks/tests/test_scheduler.py (+4/-0)
juju/state/relation.py (+4/-0)
juju/state/tests/test_relation.py (+8/-0)
juju/unit/lifecycle.py (+89/-40)
juju/unit/tests/test_lifecycle.py (+126/-14)
juju/unit/tests/test_workflow.py (+335/-293)
juju/unit/workflow.py (+68/-10)
Changed in juju: | |
status: | New → In Progress |
assignee: | nobody → William Reade (fwereade) |
milestone: | none → florence |
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.