From 380a6ddd6d9526ad4a48c8fa5df9cf3c4564b724 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 6 Nov 2013 12:33:47 -0800 Subject: [PATCH] livemedia-creator: add more errors Add check for running traceback script and when the retry fails. This also indicates something went wrong with the installation, exit when they are seen in the logs. Also drop looking for WARNING in the regex errors, they will be errors after the syslog level name remap patch goes into anaconda. --- src/sbin/livemedia-creator | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index 216d5fe0..cb68ecfc 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -143,9 +143,11 @@ class LogRequestHandler(SocketServer.BaseRequestHandler): simple_tests = ["Traceback (", "Out of memory:", "Call Trace:", - "insufficient disk space:"] - re_tests = [r"WARNING packaging: base repo .* not valid", - r"WARNING packaging: .* requires .*"] + "insufficient disk space:", + "error populating transaction after", + "traceback script(s) have been run"] + re_tests = [r"packaging: base repo .* not valid", + r"packaging: .* requires .*"] for t in simple_tests: if t in line: self.server.log_error = True