« Previous | Next » 

Revision e6345c35

IDe6345c3555e08f43e02a39a468a04da380d13737

Added by Iustin Pop over 14 years ago

Encode the actual exception raised by LU execution

Currently, the actual exception raised during an LU execution (one of
OpPrereqError, OpExecError, HooksError, etc.) is lost because the
jqueue.py code simply sets that to a str(err), and the code in cli.py
simply passes that string to OpExecError.

This patch moves to encoding the errors as per errors.EncodeError and
changes the cli code to parse and raise that (if possible).

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>
(cherry picked from commit bcb66fcabfb31ac63beebcc2249bbb8cb30703ae)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences