From 3d3501347eac5ca2db4bfd37d0af471984c56b48 Mon Sep 17 00:00:00 2001 From: Aaron Klingaman Date: Wed, 1 Jun 2005 19:54:57 +0000 Subject: [PATCH] better handle the kexec failure cases by notifying the user of the exact problem, and canceling further boot processes --- source/BootManager.py | 21 +++++++++++---------- source/steps/ChainBootNode.py | 24 +++++++++++++++++++++--- 2 files changed, 32 insertions(+), 13 deletions(-) diff --git a/source/BootManager.py b/source/BootManager.py index 478c714..ea8015a 100755 --- a/source/BootManager.py +++ b/source/BootManager.py @@ -120,16 +120,17 @@ class log: """ upload the contents of the log to the server """ - - self.LogEntry( "Uploading logs to %s" % UPLOAD_LOG_URL ) - - self.OutputFile.close() - self.OutputFile= None - - curl_cmd= "%s -s --connect-timeout 60 --max-time 600 " \ - "--form log=@%s --form ifconfig=\