Project

General

Profile

Actions

Bug #27030

closed

Safemode::NoMethodError: undefined method '#map' for String::Jail (String)

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

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

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.

Actions #1

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)
Actions #2

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
Actions #3

Updated by The Foreman Bot over 6 years ago

  • Fixed in Releases foreman_openscap 1.0.5 added
Actions #4

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF