[Satellite 6]'hammer activation-key list' command fails with error "undefined method `products' for nil:NilClass"

Solution Verified - Updated -

Issue

  • Hammer CLI fails with products for nil:NilClass error, when listing activation keys.
  • Loading error when trying to list Activation Keys page on the Red Hat Satellite 6 webUI.
  • Getting below error, while trying to list the activation key using hammer:
[root@satellite]# hammer activation-key list --organization "ACME_Corp"
[Foreman] Password for admin: 
undefined method `products' for nil:NilClass

Environment

  • Red Hat Satellite 6.2

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