From 9c8e48daf7e6d83ce52cef4ccbdfff34c9056328 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 8 Oct 2015 14:45:29 +0200 Subject: [PATCH] fix for when upgrading too old nodes --- source/steps/InstallBootstrapFS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0