Project

General

Profile

Actions

Bug #25151

closed

The last spool error on smart_proxy/show page does not work

Added by Ondřej Pražák over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The last spool error is indicated when it finds the entry in logs from proxy. The logs from proxy are retrieved directly from log buffer. Because smart-proxy-openscap-send is and external script running from a cron, so the error log entry is never in the proxy's buffer, event though it is logged into the file correctly.

Steps to reproduce:
1) corrupt a report in spool (fallocate -p -o $offset -l $length)
2) try to send report from spool with smart-proxy-openscap-send
3) there will be no spool errors detected in the services tab on the smart proxy page


Related issues 1 (0 open1 closed)

Blocked by OpenSCAP - Feature #25152: Add endpoint to report spool errorsClosedOndřej PražákActions
Actions #1

Updated by Ondřej Pražák over 5 years ago

  • Blocked by Feature #25152: Add endpoint to report spool errors added
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_openscap/pull/361 added
Actions #3

Updated by Marek Hulán over 5 years ago

  • Bugzilla link set to 1332702
Actions #4

Updated by Marek Hulán over 5 years ago

  • Target version set to foreman_openscap 0.11.0
Actions #5

Updated by Ondřej Pražák over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF