From: Thierry Parmentelat Date: Thu, 8 Oct 2015 12:45:29 +0000 (+0200) Subject: fix for when upgrading too old nodes X-Git-Tag: bootmanager-5.3-2~6 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=9c8e48daf7e6d83ce52cef4ccbdfff34c9056328 fix for when upgrading too old nodes --- diff --git a/source/steps/InstallBootstrapFS.py b/source/steps/InstallBootstrapFS.py index 0442097..63f69ab 100644 --- a/source/steps/InstallBootstrapFS.py +++ b/source/steps/InstallBootstrapFS.py @@ -277,7 +277,7 @@ def CleanupSysimgBeforeUpgrade(sysimg, target_nodefamily, log): with open("{}/etc/planetlab/virt".format(sysimg)) as infile: installed_virt = infile.read().strip() except Exception as e: - print_exc() + traceback.print_exc() raise BootManagerException("Could not retrieve data about previous installation - cannot upgrade") # moving from vservers to lxc also means another filesystem