How to add an errata into an existing content view

Solution Verified - Updated

Environment

  • Red Hat Satellite or Capsule

Issue

  • How to add a security errata into an existing published content view.
  • I'm in the middle of patching cycle and I don't want to just publish a new Content View for security Errata
  • How to make an incremental Content View?

Resolution

In Satellite version 6.1 and above, it is possible to create incremental Content View rather publishing a new version :

  • From Satellite WEBUI, navigate to Content → Errata to view the list of available errata.

  • Click the Errata ID of the erratum to apply.

  • On the Content Hosts tab, select one or more Content Hosts to be updated. Content Hosts can be filtered by the environment and can search by name. Selecting the checkbox at the top of the page, only Content Hosts that already have the installable erratum in their life cycle environment are displayed.

  • Click Apply to Hosts.

  • If the erratum is applicable, a new minor version of the Content View is created. If selecting Apply Errata to Content Hosts Immediately after publishing, Satellite will automatically install the erratum on the content host when promoting the updated content view. Otherwise, the erratum will be made available for installation on the Content Host. Installable errata can be applied later using the same procedure, or manually per content host as described in

Procedure 8.4, “To Apply Installable Errata to a Content Host:”.
If the erratum is installable, which means it is already present in the selected content host's life cycle environment but is not installed yet, no new content view version is created.

  • Click Confirm.

Using Hammer CLI

# hammer erratum list   ----> to list the errata and its corresponding IDs
# hammer content-view version list ----> would give the different content-view versions and the ID corresponding to it.
# hammer content-view version incremental-update --content-view-version-id 12 --errata-ids fc451f1d-558a-4f48-8618-440099a4fb6b  ---> command to apply the single erratum to content-view version. Can provide more ids by separating with a comma.

Using This content is not included.Red Hat Satellite Ansible Collection

Reference article : Satellite 6.1 Feature Overview: Errata Management

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

SBR
Product(s)
Components
Category
Tags

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.