Project

General

Profile

Bug #26556

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

Added by Ondřej Pražák 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
High
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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.

History

#1 Updated by Ondřej Pražák 7 months ago

  • Priority changed from Normal to High
  • 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)

#2 Updated by Ondřej Pražák 7 months ago

  • Assignee set to Ondřej Pražák

#3 Updated by Marek Hulán 7 months ago

  • Fixed in Releases foreman_scap_client 0.4.5 added

#4 Updated by Marek Hulán 7 months ago

  • Status changed from New to Closed

Also available in: Atom PDF