install hook error, does not transition to start after resolved

Bug #794129 reported by Kapil Thangavelu
6
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://paste.ubuntu.com/620867/
<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

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.