Project

General

Profile

Bug #19405

Auto discovery does not log all exceptions

Added by Ohad Levy almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
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.

History

#1 Updated by Lukas Zapletal almost 2 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.

#2 Updated by Lukas Zapletal almost 2 years ago

  • Target version set to Discovery Plugin 9.1.0

#3 Updated by The Foreman Bot almost 2 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

Also available in: Atom PDF