Hammer content-hosts csv export always reports nil on Host Collection column in Red Hat Satellite 6.

Solution Verified - Updated -

Issue

  • When using Hammer to export content-hosts the host collections column is always empty even if a system has a host collection associated with it.

    # hammer csv content-hosts --export --columns "Name,Content View,Host Collections,Environment" --file /tmp/example.txt
    # cat /tmp/example.txt
    
    client1.example.com,Default_Organization_view," ",Library
    client2.example.com,Default_Organization_view," ",Library
    client3.example.com,Default_Organization_view," ",Library
    client4.example.com,Default_Organization_view," ",Library
    

Environment

  • Red Hat Satellite 6.2.X.
  • Red Hat Satellite 6.3.X.
  • Red Hat Satellite 6.4.X.

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