Generating Red Hat cloud inventory report fails on Satellite 6.

Solution Verified - Updated -

Issue

  • Unable to generate rh_cloud_inventory:report:generate

    # foreman-rake rh_cloud_inventory:report:generate
    
    API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
    rake aborted!
    NoMethodError: undefined method `name' for "2.0.12":String
    /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_hooks-0.3.16/lib/foreman_hooks/as_dependencies_hook.rb:6:in `block (2 levels) in 
    load_missing_constant'
    /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_rh_cloud-2.0.12/lib/tasks/rh_cloud_inventory.rake:15:in `block (3 levels) in <top (required)>'
    

Environment

  • Red Hat Satellite 6.8

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