[Red Hat Satellite 6.2] Can not list activation keys using hammer, getting error "undefined method `products' for nil:NilClass"

Solution Verified - Updated -

Issue

  • Getting below error, while trying to list the activation key using hammer:
[root@satellite]# hammer activation-key list --organization=org
[Foreman] Password for admin: 
undefined method `products' for nil:NilClass
  • Activation key page keeps on loading on UI.

Environment

  • Red Hat Satellite 6.2.0
  • Red Hat Satellite 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.