Project

General

Profile

Actions

Bug #9231

closed

Exception message missing when ENC fails to render

Added by Dominic Cleal over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
External Nodes
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

From http://projects.theforeman.org/issues/9185#note-3, when the ENC fails to render, the exception message isn't logged:

Failed to generate external nodes for host4.cloud.example.com with

It appears that refactoring in 4f7a4d0ba84f43e3cb0d422d9f5e82b01588f21b changed the logging message to use $ERROR_INFO instead of $!. This variable is only available if the 'English' library is loaded, which it doesn't appear to be.


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #9185: Deleting a network interface breaks all puppet agent syncingResolved02/01/2015Actions
Related to Foreman - Feature #3809: Add rubocop to foremanClosedDavid DavisActions
Has duplicate Foreman - Bug #9305: ENC failures are not logged correctlyDuplicate02/10/2015Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #9185: Deleting a network interface breaks all puppet agent syncing added
Actions #2

Updated by Dominic Cleal over 9 years ago

Actions #3

Updated by Dominic Cleal over 9 years ago

  • Difficulty set to easy
Actions #4

Updated by Dominic Cleal over 9 years ago

There's another instance in app/models/host/managed.rb, so these either need reverting (and disable Style/SpecialGlobalVars in rubocop again) or require English from something core in config/.

Actions #5

Updated by David Davis over 9 years ago

  • Assignee set to David Davis
Actions #6

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2131 added
  • Pull request deleted ()
Actions #7

Updated by Ohad Levy over 9 years ago

  • Has duplicate Bug #9305: ENC failures are not logged correctly added
Actions #8

Updated by David Davis over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #9

Updated by Dominic Cleal over 9 years ago

  • Translation missing: en.field_release set to 32
Actions

Also available in: Atom PDF