hammer ping throws an 'ArgumentError' in Red Hat Satellite 6.11.z

Solution Verified - Updated -

Issue

  • Executing the "hammer ping" command displays the error message below

    # hammer ping
    Traceback (most recent call last):
        13: from /bin/hammer:23:in `<main>'
        12: from /bin/hammer:23:in `load'
        11: from /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-3.1.0.1/bin/hammer:124:in `<top (required)>'
        10: from /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in `require'
         9: from /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in `require'
         8: from /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-3.1.0.1/lib/hammer_cli.rb:16:in `<top (required)>'
         7: from /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in `require'
         6: from /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in `require'
         5: from /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-3.1.0.1/lib/hammer_cli/abstract.rb:9:in `<top (required)>'
         4: from /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in `require'
         3: from /opt/rh/rh-ruby27/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:83:in `require'
         2: from /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-3.1.0.1/lib/hammer_cli/clamp.rb:8:in `<top (required)>'
         1: from /opt/theforeman/tfm/root/usr/share/gems/gems/fast_gettext-1.4.1/lib/fast_gettext/vendor/string.rb:70:in `%'
    /opt/theforeman/tfm/root/usr/share/gems/gems/fast_gettext-1.4.1/lib/fast_gettext/vendor/string.rb:70:in `%': named{file} after unnumbered(1) (ArgumentError)
    

Environment

  • Red Hat Satellite 6.11.z

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content