Bug #19405
closed
Auto discovery does not log all exceptions
Added by Ohad Levy over 7 years ago.
Updated over 7 years ago.
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.
- 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.
- Target version set to Discovery Plugin 9.1.0
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman_discovery/pull/346 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF