Project

General

Profile

Bug #25151

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

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

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Blocked by OpenSCAP - Feature #25152: Add endpoint to report spool errorsClosed

Associated revisions

Revision ada67f6b (diff)
Added by Ondřej Pražák almost 5 years ago

Fixes #25151 - Properly show spool error

History

#1 Updated by Ondřej Pražák almost 5 years ago

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

#2 Updated by The Foreman Bot almost 5 years ago

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

#3 Updated by Marek Hulán almost 5 years ago

  • Bugzilla link set to 1332702

#4 Updated by Marek Hulán almost 5 years ago

  • Target version set to foreman_openscap 0.11.0

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

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF