exit code from debug-hooks session should be used for hook success

Bug #1227954 reported by Kapil Thangavelu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Triaged
Medium
Unassigned

Bug Description

When in debug-hooks debugging a hook, it should be possible that either the exit value from the shell or another mechanism to set the exit value of the hook. At the moment all debug-hooks succeed unconditionally.

Tags: debug-hooks
Revision history for this message
John A Meinel (jameinel) wrote :

I thought this was a dupe, but I can't find it.

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
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1227954] Re: exit code from debug-hooks session should be used for hook success

not sure why your marking older bugs duplicates (this one is 15 months
old).. .. anyways.. the workaround is to exit from all other tmux/byobu
windows before the hook window where you can then exit with desired status..

On Tue, Jan 27, 2015 at 4:38 PM, Curtis Hovey <email address hidden> wrote:

> *** This bug is a duplicate of bug 1415176 ***
> https://bugs.launchpad.net/bugs/1415176
>
> ** This bug has been marked a duplicate of bug 1415176
> debug-hooks exit 1 , doesn't mark hook as failed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1227954
>
> Title:
> exit code from debug-hooks session should be used for hook success
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-core/+bug/1227954/+subscriptions
>

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.