Bug #25151
The last spool error on smart_proxy/show page does not work
Difficulty:
Triaged:
No
Bugzilla link:
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
Associated revisions
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
Applied in changeset foreman_openscap|ada67f6b75e1df3b119ab5453d9e43c28fcc8773.
Fixes #25151 - Properly show spool error