Project

General

Profile

Bug #12253

Failed to send spool to Foreman in log even though report was uploaded

Added by Ondřej Pražák almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When this line (https://github.com/theforeman/smart_proxy_openscap/blob/master/lib/smart_proxy_openscap/openscap_api.rb#L42) raises exception, we log that proxy failed to send spool to Foreman, which is not true. Spool was sent on line 41, there was a failure to save report on proxy so it could be retrieved later.

Associated revisions

Revision 6105cf91 (diff)
Added by Shlomi Zadok almost 3 years ago

Fixes #12253 - notify is post to foreman succeeded, yet failed to save in reports dir

Revision 7bd33322
Added by Shlomi Zadok almost 3 years ago

Merge pull request #20 from shlomizadok/fix_12253

Fixes #12253 - save failed_reports if post to foreman succeeded, yet failed to save in reports dir

History

#1 Updated by Shlomi Zadok almost 3 years ago

  • Target version set to 0.5.1

#2 Updated by Shlomi Zadok almost 3 years ago

  • Status changed from New to Ready For Testing
  • Target version changed from 0.5.1 to 0.5.0
  • Pull request https://github.com/theforeman/smart_proxy_openscap/pull/20 added
  • Pull request deleted ()

#3 Updated by Shlomi Zadok almost 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF