How to search for composite content views that contain a specific content view in Satellite?

Solution Verified - Updated

Environment

  • Red Hat Satellite
    • 6.15
    • 6.16
    • 6.17

Issue

  • How to search for composite content views that contain one or more stand-alone content views?

Resolution

Starting with Satellite 6.15, one can search for composite content views that contain specific content views.

  • The following search will list all composite content views that contain stand-alone content view "cv_a":

    composite = true and has content_views ~ cv_a
    
  • The following search will list all composite content views that contain stand-alone content view "cv_a" and "cv_b":

    composite = true and has content_views ~ cv_a and has content_views ~ cv_b
    

For more KB articles/solutions related to Red Hat Satellite 6.x Content View Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Content View Issues

Root Cause

This functionality was added to Satellite 6.15 via Katello upstream issue Content from projects.theforeman.org is not included.35901.

SBR
Product(s)
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.