The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #13929

Face error messages during startup may be swallowed

Added by Chris Price over 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:04/12/2012
Priority:HighDue date:
Assignee:Chris Price% Done:

0%

Category:logging
Target version:3.0.0
Affected Puppet version: Branch:https://github.com/puppetlabs/puppet/pull/668
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

The method Puppet::Util#exit_on_fail has an exception handling block that attempts to ensure that any error that occurs during the lifecycle of the face will be logged.

A recurring problem that we keep seeing, though, is that if an error occurs before logging is initialized, we still swallow the errors. We have a queuing mechanism in place that attempts to queue up log messages that are written before the logging framework is initialized, and then flush the queue once the logging system is ready. However, this still doesn’t work if the error occurs before logging is fully initialized.


Related issues

Blocks Puppet - Bug #13898: faces silently fail against master Closed 04/11/2012

History

#1 Updated by Chris Price over 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch set to https://github.com/puppetlabs/puppet/pull/668

#2 Updated by Jeff Weiss over 2 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

#3 Updated by Anonymous over 2 years ago

  • Target version changed from 3.x to 3.0.0

#4 Updated by Matthaus Owens about 2 years ago

  • Status changed from Merged - Pending Release to Closed

Released in Puppet 3.0.0rc1

Also available in: Atom PDF