Project

General

Profile

Actions

Bug #26556

closed

Unable to upload arf report on rhel 6 client: unexpected '.', expecting kEND (SyntaxError)

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

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

Description

Description of problem:

Trying to upload scap report on rhel 6 client gives error

  1. foreman_scap_client 2
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /usr/lib/ruby/gems/1.8/gems/foreman_scap_client-0.4.4/lib/foreman_scap_client/client.rb:61: syntax error, unexpected '.', expecting kEND (SyntaxError)
    .select { |item| item.start_wit...
    ^
    /usr/lib/ruby/gems/1.8/gems/foreman_scap_client-0.4.4/lib/foreman_scap_client/client.rb:62: syntax error, unexpected '.', expecting kEND
    .join("\n")
    ^
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/foreman_scap_client-0.4.4/lib/foreman_scap_client.rb:2
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/foreman_scap_client-0.4.4/bin/foreman_scap_client:3
    from /usr/bin/foreman_scap_client:19:in `load'
    from /usr/bin/foreman_scap_client:19

Steps to Reproduce:
1. Register rhel 6 client to satellite
2. Assign scap policy
3. Try to upload report to satellite

Expected results: Successful upload of arf reports.

Actions #1

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

  • Subject changed from Unable to upload arf report on rhel 6 client: unexpected '.', expecting kEND (SyntaxError) to Unable to upload arf report on rhel 6 client: unexpected '.', expecting kEND (SyntaxError)
  • Priority changed from Normal to High
Actions #2

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

  • Assignee set to Ondřej Pražák
Actions #3

Updated by Marek Hulán about 5 years ago

  • Fixed in Releases foreman_scap_client 0.4.5 added
Actions #4

Updated by Marek Hulán about 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF