Add debug hook cli flag for deploy and and add-unit.

Bug #776426 reported by Kapil Thangavelu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

This should help considerably when debugging install or start, as the debug-hook cli requires an existing service unit.

Changed in ensemble:
milestone: none → dublin
importance: Undecided → High
Changed in ensemble:
importance: High → Low
Changed in ensemble:
milestone: dublin → none
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

you can debug install and start hooks now, if you run the debug-hooks command before they execute. ie execute immediately after the deploy/add-unit cmd).

Revision history for this message
Kapil Thangavelu (hazmat) wrote :

this has been fixed for a while afaics, not seeing the relevant commit in history on casual perusal of diffs. i verified behavior though.

Changed in juju:
status: New → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

I disagree Kapil. This is not fixed, because you have to be *extremely* fast and race with the unit agent if the machine agent that gets the service unit is already running.

The point of this was that you would create the service unit *with debug already enabled*.

Changed in juju:
status: Fix Released → Triaged
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.