cmd/juju: debug-hooks cannot debug the install hook

Bug #1221501 reported by Dave Cheney
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned
juju-core
Won't Fix
Medium
Unassigned

Bug Description

debug-hooks cannot hook the install hook. This is a regression from juju 0.7

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

Pyjuju used state to represent debug-hooks. The unit state exists as soon as add-unit/deploy is done, and then pyjuju could attach the debug flag to the unit state. The unit agent (and its machine) would come up and observe/act upon its state, and process debug-hooks before entering into its state machine. With juju-core there is no use of state for debug hooks, and no coordination around the unit's statemachine, its a soley a race of the existence of the tmux session before a hook executes. This makes it very hard to catch install hooks or start hooks (depending on how long the install hook took).

John A Meinel (jameinel)
Changed in juju-core:
importance: Undecided → High
status: New → Triaged
Curtis Hovey (sinzui)
tags: added: debug-hooks
Changed in juju-core:
importance: High → Medium
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Re-targeting for juju 2.x

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.1.0
Changed in juju-core:
status: Triaged → Won't Fix
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1-rc2 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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