Actions
Bug #27030
closedSafemode::NoMethodError: undefined method '#map' for String::Jail (String)
Difficulty:
Triaged:
No
Bugzilla link:
Description
Description of problem:
When trying to run SCAP scan, scan fails and there is the following in the log (traceback attached): "Safemode::NoMethodError: undefined method '#map' for String::Jail (String)"
Steps to Reproduce:
1. Setup SCAP policy
2. Hosts -> All Hosts -> <host> -> Schedule Remote Job -> Run OpenSCAP scan, choose a random host without a policy and puppet classes for scap client
Actual results:
Failure, traceback
Expected results:
Successful scan, no traceback
Additional info:
This happens because a host is not properly configured for openscap. We should show a better error that would provide user an explanation about what went wrong.
Updated by Ondřej Pražák over 6 years ago
- Project changed from Ansible to OpenSCAP
- Subject changed from Safemode::NoMethodError: undefined method '#map' for String::Jail (String) to Safemode::NoMethodError: undefined method '#map' for String::Jail (String)
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman_openscap/pull/403 added
Updated by The Foreman Bot over 6 years ago
- Fixed in Releases foreman_openscap 1.0.5 added
Updated by Anonymous over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_openscap|b421fb26c3c2bc9793267a711f9f8065bc812298.
Actions