Bug #12253

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

Added by Ondřej Pražák about 2 years ago. Updated about 2 years ago.

Status:ClosedSpent time:-
Priority:Normal
Assigned To:-
Category:-
Target version:0.5.0
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/smart_proxy_openscap/pull/20
Triaged:No
Story points-
Velocity based estimate-

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
Added by Shlomi Zadok about 2 years ago

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

Revision 7bd33322
Added by Shlomi Zadok about 2 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 about 2 years ago

  • Target version set to 0.5.1

#2 Updated by Shlomi Zadok about 2 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

#3 Updated by Shlomi Zadok about 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF