Red Hat Satellite - List all hosts having a specific repository enabled

Solution Unverified - Updated -

Issue

Activation key (AK) allow to add repositories on a server.
These repositories can be enabled or disabled by default.
Sometimes it can be relevant to have one AK having some disabled repositories and enable them, if required, in post configuration.

With this kind of setup, listing all hosts having a specific repository enabled can be helpful, but unfortunately this information is not trivial to get.

This is not possible to get directly the list of all hosts having a specific repository active neither with Satellite GUI nor with hammer CLI.

Environment

  • Red Hat Satellite 6.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