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.
This commit is contained in:
Brian C. Lane 2013-11-06 12:33:47 -08:00
parent b7be1d97fe
commit 380a6ddd6d
1 changed files with 5 additions and 3 deletions

View File

@ -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