Project

General

Profile

Actions

Bug #19405

closed

Auto discovery does not log all exceptions

Added by Ohad Levy over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

when auto discovery fails, the logs do not show why, an error should at least include the line in which the action failed and probably a trace.

Actions #1

Updated by Lukas Zapletal over 7 years ago

  • Subject changed from auto discovery does not log exceptions to Auto discovery does not log all exceptions

Unfortunately most of exceptions ends up in SQL logger, this has been fixed in Foreman 1.16+ fortunately (orchestration logging patch). I will check the codebase and test if there are swalloved exceptions in the autoprovisioning code tho.

Actions #2

Updated by Lukas Zapletal over 7 years ago

  • Target version set to Discovery Plugin 9.1.0
Actions #3

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman_discovery/pull/346 added
Actions

Also available in: Atom PDF