Project

General

Profile

Actions

Bug #5797

closed

Foreman does not flag catalog retieve failures as a puppet failure if the cached catalog runs without issues

Added by Chuck Schweizer almost 10 years ago. Updated almost 10 years ago.

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

Description

Foreman does not log any failures when a puppet can not retrieve a catalog from the remote server if puppet fails back to a cached catalog and the run finishes without errors.

  logs:
    - !ruby/object:Puppet::Util::Log
      message: "Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/etc/mcollective/ssl/public.pem] { require => File[/etc/mcollective/ssl] }, because File[/etc/mcollective/ssl] doesn't seem to be in the catalog" 
      level: !ruby/sym err
      tags:
        - err
      time: 2014-05-19 17:11:01.294604 +00:00
      source: Puppet
    - !ruby/object:Puppet::Util::Log
      message: "Using cached catalog" 
      level: !ruby/sym notice
      tags:
        - notice
      time: 2014-05-19 17:11:03.743133 +00:00
      source: Puppet
    - !ruby/object:Puppet::Util::Log
      message: "Finished catalog run in 37.88 seconds" 
      level: !ruby/sym notice
      tags:
        - notice
      time: 2014-05-19 17:11:44.763923 +00:00
      source: Puppet

Related issues 1 (0 open1 closed)

Is duplicate of Installer - Bug #3851: Reports with errors on the puppet master side are not shown as failedClosedDominic Cleal12/11/2013Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Is duplicate of Bug #3851: Reports with errors on the puppet master side are not shown as failed added
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Status changed from New to Feedback

This should be fixed with the change in #3851, would you mind testing this updated report processor? https://raw.githubusercontent.com/theforeman/puppet-foreman/master/templates/foreman-report_v2.rb.erb

Actions #3

Updated by Chuck Schweizer almost 10 years ago

Yep. That fixed my issue. Thanks

Actions #4

Updated by Dominic Cleal almost 10 years ago

  • Status changed from Feedback to Duplicate

Great, thanks for testing.

Actions

Also available in: Atom PDF