Unable to connect Red Hat Satellite server using hammer configured on the external server

Solution Verified - Updated -

Issue

  • The below error is seen on the server configured with hammer. The same works fine on the Red Hat Satellite server.
[root@server ~]# hammer package list --host client.example.com --packages-restrict-upgradable yes

undefined method `where' for #<Array:0x00007f07309876f8>

Environment

  • Red Hat Satellite 6.x

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