install hook error, does not transition to start after resolved
Bug #794129 reported by
Kapil Thangavelu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Kapil Thangavelu |
Bug Description
any resolved action against an install hook error, should automatically transition to the started state (and execute the start hook).
from irc bug report
<kim0> Here are the steps to reproduce:
<kim0> - deploy a formula with an error in its install hook
<kim0> - state becomes, install_error
<kim0> - launch debug-hooks
<kim0> - launch resolved -r <SU>
<kim0> - Broken hook is debugged under tmux
<kim0> - Now "status" mentions state is "installed" not "started"!
<kim0> Now I get the following traceback http://
<kim0> and issuing add-relation .. doesn't really help move it from state installed
<kim0> niemeyer: hazmat ^
<kim0> It seems the state-machine is stuck
Related branches
lp:~hazmat/pyjuju/resolved-install-should-start
- Gustavo Niemeyer: Approve
-
Diff: 53 lines (+8/-7)2 files modifiedensemble/unit/tests/test_workflow.py (+5/-4)
ensemble/unit/workflow.py (+3/-3)
Changed in ensemble: | |
milestone: | none → dublin |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Kapil Thangavelu (hazmat) |
Changed in ensemble: | |
status: | In Progress → Fix Released |
To post a comment you must log in.