Bug #24508
Rely on loaded settings when moving corrupted reports from spool
Difficulty:
Triaged:
No
Bugzilla link:
Description
Spool forwarder executed from script cannot rely on Proxy::OpenSCAP::Plugin.settings as these are populated during proxy start. This was fixed in #22511 by loading the settings. When moving the corrupted report, the StorageFS still uses Proxy::OpenSCAP::Plugin.settings.spooldir. We should pass the needed args from SpoolForwarder so that StoreagFS does not try to look them up in uninitialized global context.
Related issues
Associated revisions
History
#1
Updated by Ondřej Pražák about 5 years ago
- Related to Bug #22511: Cannot send Arf reports from spool added
#2
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/smart_proxy_openscap/pull/61 added
#3
Updated by Marek Hulán about 5 years ago
- Target version set to smart_proxy_openscap 0.6.11
#4
Updated by Ondřej Pražák about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset smart_proxy_openscap|50acc4206f041af69981a1b9671d6013487956e5.
#5
Updated by Ondřej Pražák almost 5 years ago
- Bugzilla link set to 1332702
Fixes #24508 - Use loaded settings when moving corrupted arf