Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1599466 - [RFE] Improve error message for sending reports to foreman [NEEDINFO]
Summary: [RFE] Improve error message for sending reports to foreman
Status: NEW
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Puppet
Version: 6.3.1
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Peter Ondrejka
Depends On:
TreeView+ depends on / blocked
Reported: 2018-07-09 23:40 UTC by matt jia
Modified: 2019-04-09 03:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:
oprazak: needinfo? (mjia)

Attachments (Terms of Use)

Description matt jia 2018-07-09 23:40:42 UTC
Description of problem:

If a report is failed to send to foreman, the current error message is like this

"Could not send report to Foreman at #{foreman_url}/api/config_reports: #{e}\n#{e.backtrace}"

However, it doesn't reflect in which host the report can't be sent. It will be useful to change the message like this to make debug easy

"Could not send report for #{} to Foreman at #{foreman_url}/api/config_reports: #{e}\n#{e.backtrace}"

Comment 2 Ondřej Pražák 2018-08-13 11:10:55 UTC
Where does the error message appear? Do we have reproducer steps?

Note You need to log in before you can comment on or make changes to this bug.