From 492ab9e4a59d28ef49cafeba63e9ee31537a92ee Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 14 Sep 2016 09:16:58 -0700 Subject: [PATCH] livemedia-creator: Check for packaging failures in the logs (#1374809) anaconda-26.1 changed how package scriptlet failures are handled. They are now fatal, and anaconda hangs after logging an Installation failure. ERR packaging: Installation failed: PayloadInstallError('DNF error: Non-fatal POSTIN scriptlet failure in rpm package mlocate',) Catch this (the 'packaging: Installation failed' part) and terminate the image creation. --- src/pylorax/monitor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pylorax/monitor.py b/src/pylorax/monitor.py index c895565e..01a7cacb 100644 --- a/src/pylorax/monitor.py +++ b/src/pylorax/monitor.py @@ -108,6 +108,7 @@ class LogRequestHandler(socketserver.BaseRequestHandler): "traceback script(s) have been run", "crashed on signal", "packaging: Missed: NoSuchPackage", + "packaging: Installation failed", "The following error occurred while installing. This is a fatal error"] re_tests = [r"packaging: base repo .* not valid", r"packaging: .* requires .*"]