[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 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.