From eb4cc94dcb8512246c6b35d59c9b425f48ae6387 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 26 Feb 2013 21:13:16 +0100 Subject: [PATCH] log more details --- source/steps/InstallBootstrapFS.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/steps/InstallBootstrapFS.py b/source/steps/InstallBootstrapFS.py index d22ed2a..83de630 100644 --- a/source/steps/InstallBootstrapFS.py +++ b/source/steps/InstallBootstrapFS.py @@ -94,6 +94,9 @@ def Run( vars, log ): extensions = node_flavour['extensions'] plain = node_flavour['plain'] except: + exc_type, exc_value, exc_traceback = sys.exc_info() + lines=traceback.format_exception(exc_type,exc_value,exc_traceback) + for line in lines: log.write(line) raise BootManagerException ("Could not call GetNodeFlavour - need PLCAPI-5.0") log.write ("Retrieved 'virt' style %s from GetNodeFlavour\n"%node_flavour['virt']) -- 2.43.0