[Satellite 6]'hammer activation-key list' command fails with error "undefined method `products' for nil:NilClass"
Issue
- Hammer CLI fails with
products for nil:NilClasserror, when listing activation keys. - Loading error when trying to list
Activation Keyspage on the Red Hat Satellite 6 webUI. - Getting below error, while trying to list the
activation keyusinghammer:
[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.