Project

General

Profile

Actions

Bug #1363

closed

Report with a failed catalog compile is not a failed report (Patch provided)

Added by Raffael Schmid about 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When we wanted to use the failed_report_email_notification option, we discovered that reports which come from a failed catalog run are not considered as failed.

This wrong assumption happens in ReportCommon.error? which searches only for failed action inside the report (service start failed for example).

I added a patch and sent it to the mailinglist: https://groups.google.com/group/foreman-dev/browse_thread/thread/fce80bcc18bc1226

It just adds a check for severity of the loglines inside the report.

Actions

Also available in: Atom PDF