Troubleshooting missing patches in Red Hat patch catalogs


A Red Hat Linux Patch Catalog does not display the expected packages.

This topic helps you to locate and review the appropriate logs to determine why the expected packages are not being added to the Patch Catalog and either help you to identify and resolve the issue or create a BMC Customer Support case with the appropriate logs.


Issue symptoms

A Red Hat Linux Patch Catalog Update Job (CUJ) runs successfully without errors, however, some of the expected packages are missing from the catalog.

Issue scope

The issue might occur with all the RedHat Linux Patch CUJs in your environment or a specific CUJ.

Diagnosing and reporting an issue

Task

Action

Steps

Reference

1

Understand the problem scope.

Do the following:

  • Identify the packages that are missing from the updated catalog
  • Identify the affected versions of RedHat where this issue occurs.
  • Check the defined filters list and whether it contains child channels. See the images in the Reference column.


Red Hat patch catalog:

image2020-9-17_12-53-20.png

Filter list:

image2020-9-17_12-53-47.png

2

Identify the recent changes

Verify whether the same package was already present in the RedHat patch catalog. If yes, check whether any changes were made to the filters defined on the patch catalog.


3

Confirm whether the package is really missing by creating a Depot Smart Group

Do the following:

  1. Right-click the Redhat Patch Catalog and select New > Patch Catalog Smart Group.
  2. Provide a name for the Patch Catalog Smart Group. For example, LocatePackage is the name used in the example Smart Group in the Reference column.
  3. Add a condition to determine whether the package exists. For instance, “Any Depot Object Where ??NAME?? contains satellite”
  4. Click Finish.
  5. Expand the new Patch Catalog Smart Group to confirm whether the Package is missing as reported.

Filter not showing missing Package reported

image2020-9-21_9-34-22.png

4

Obtain the complete details of the missing package from the Red Hat Portal.


Do the following:

  1. Login to the Red Hat Portal
    with your Red Hat credentials.

  2. Enter the missing package name.
  3. Under the Architectures column, click the link corresponding to the package name to get the complete details (This is the NOARCH link in the example image, but that label may vary.)
  4. Note down the product (Variant, version, and architecture) and the Repo label. In the example image, it is "Red Hat Satellite 6.7 x86_64"
  5. Note the Repo Label value that corresponds to the channel.



image2020-9-9_17-57-53.png


image2020-9-17_12-59-30.png

5

Analysis

Review the information in the "Resolutions for common issues" section to understand the common issues that can result in packages being unexpectedly missing from a Red Hat catalog along with how they can typically be resolved.

If you are unable to identify and resolve the problem, create a BMC Support Case.


6

Creating a BMC Support Case

Provide the following information and log files when creating a case with BMC Customer Support:

  • Full problem scope as identified in step 1
  • Recent changes as identified in step 2
  • Log for the latest Patch Catalog Update Job (CUJ) run


Resolutions for common issues

Symptom

Action

Reference

Package is missing from one catalog, but is present in another catalog.

Do the following:

  1. Compare the filters defined for both the catalogs.
  2. Determine the filter on the successful CUJ that is responsible for downloading the missing package, and add the same filter to the problematic catalog.
  3. Rerun the problematic CUJ and confirm whether the package is included in the catalog.


The package was previously appearing in a patch catalog, but is no longer appearing after the recent CUJ runs.

Do the following:

  1. Check whether any filters were removed from the catalog recently. If yes, review the filter changes and whether any of these filters were responsible for downloading this missing package. If yes, consider adding the filter back. Rerun the problematic CUJ and confirm the package is now included in the Catalog as expected.
  2. If filters have not been removed recently, confirm whether the patch is still available for download directly from the vendor.


The Package is determined (step 4) to have a channel, OS version or architecture that is not included in the existing top-level catalog filter(s).

Do the following:

  1. Add the required filter to the catalog filter list.
  2. Rerun the CUJ.
  3. Confirm that the missing package is now present.


The Package is determined (step 4) to belong to a child channel (see the Repo label) that is not defined on the patch catalog.

Do the following:

  1. Open the Patch catalog and add the required child channel to the appropriate filter.

    image2020-9-21_9-31-51.png
  2. Rerun the CUJ.
  3. Confirm the missing package is now present.

The package is determined (step 4) to belong to a child channel (see the Repo label), which is not available for selection in the child channel list.

Follow the instructions in the referenced knowledge article to add the required channel to the list of channels available for selection in the selected child channel list.

The Patch Analysis phase does not show some patches as missing, but in the commit phase same patches are reported as the following warning: <PATCH NAME> available, but not installed

The dnf utility checks whether the latest packages are available for installation. If you want, update the packages.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Server Automation 22.2