Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-39971

Hammer host info command shows Installable Errata under Applicable Errata section

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.16.5.5
    • Errata Management
    • 2
    • False
    • Artemis Prioritized Backlog
    • sat-artemis
    • None
    • None
    • None
    • To Do

      Description of problem:

      Hammer host info command shows Installable Errata under Applicable Errata section

      When running the following command on a Red Hat Satellite host:
      # hammer --output json host info --id <host_id> | jq '."Content Information"."Applicable Errata"'
      The output displayed under "Applicable Errata" actually reflects the "Installable Errata" values instead of the true Applicable Errata values.

       

      Steps to Reproduce:

      Run the command:

      1. hammer --output json host info --id x | jq '."Content Information"."Applicable Errata"'

      Compare the results with Errata in WebUI:

       Check the WebUI under: Hosts → All Hosts → [Host] → Overview → Errata

       

      Actual Results:

      The command output for "Applicable Errata" shows the same values as "Installable Errata" (e.g., all zeros).

       

      Expected Results:

      The "Applicable Errata" section should correctly display the list and counts of applicable errata, consistent with the API and WebUI values.

       

      Impact:

      Incorrect KPI data is generated due to the mismatch between Hammer CLI and actual errata status.

      Misleading reporting for system compliance and patch management.

              Unassigned Unassigned
              rhn-support-amiagarw Amit Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: