Make utils.RunCmd log failures when using debug
authorIustin Pop <iustin@google.com>
Thu, 29 Nov 2007 16:03:23 +0000 (16:03 +0000)
committerIustin Pop <iustin@google.com>
Thu, 29 Nov 2007 16:03:23 +0000 (16:03 +0000)
commitf362096fbd9ebec5f1d2b33d4ef914e136e2988a
tree0dc38a4a90d561eb5d6756453e43e5cea042d0ab
parent037da7956de28e6a7c8d19c88c3d9d70a0a5ed65
Make utils.RunCmd log failures when using debug

This patch adds logging of command failures to the debug log in case the
user either started the command (gnt-*) or the node daemon with the
debug flag.

Reviewed-by: imsnah
daemons/ganeti-noded
lib/cli.py
lib/utils.py