Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-20361 hammer erratum list output is wrong when using content-view filter
  3. SAT-25209

[QE] hammer erratum list output is wrong when using content-view filter

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Errata Management
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Phoenix
    • Sprint 133, Sprint 134, Sprint 135, Sprint 136, Sprint 137, Sprint 138, Sprint 139, Sprint 140, Sprint 141

      Description of problem:
      Filter output to content-view shows wrong output for hammer erratum list command

      Version-Release number of selected component (if applicable):
      tfm-rubygem-hammer_cli-2.3.0-1.el7sat.noarch

      How reproducible:
      100%

      Steps to Reproduce:
      1. # hammer erratum list --cve CVE-2022-26486 --content-view CV-RHEL-8-E4S
      2.
      3.

      Actual results:
      -----|--------------|--------|---------------------------------------------|----------|----------
      ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED
      -----|--------------|--------|---------------------------------------------|----------|----------
      21156 | RHSA-2022:0850 | security | Important: thunderbird security update | 2022-03-14 | 2022-03-14
      21058 | RHSA-2022:0853 | security | Important: thunderbird security update | 2022-03-14 | 2022-03-14
      21025 | RHSA-2022:0845 | security | Important: thunderbird security update | 2022-03-14 | 2022-03-14
      20801 | RHSA-2022:0843 | security | Important: thunderbird security update | 2022-03-14 | 2022-03-14
      21137 | RHSA-2022:0824 | security | Critical: firefox security and bug fix update | 2022-03-10 | 2022-03-10
      21066 | RHSA-2022:0817 | security | Critical: firefox security update | 2022-03-10 | 2022-03-10
      21018 | RHSA-2022:0818 | security | Critical: firefox security update | 2022-03-10 | 2022-03-10
      20793 | RHSA-2022:0816 | security | Critical: firefox security update | 2022-03-10 | 2022-03-10
      -----|--------------|--------|---------------------------------------------|----------|----------

      Expected results:
      -----|--------------|--------|--------------------------------------|----------|----------
      ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED
      -----|--------------|--------|--------------------------------------|----------|----------
      20801 | RHSA-2022:0843 | security | Important: thunderbird security update | 2022-03-14 | 2022-03-14
      20793 | RHSA-2022:0816 | security | Critical: firefox security update | 2022-03-10 | 2022-03-10
      -----|--------------|--------|--------------------------------------|----------|----------

      Additional info:

      [root@satellite-2 ~]# hammer content-view info --name CV-RHEL-8-E4S
      ID: 35
      Name: CV-RHEL-8-E4S
      Label: CV-RHEL-8-E4S
      Composite: false
      Description:
      Content Host Count: 0
      Force Puppet: false
      Solve Dependencies: false
      Organization: CRAZY.LAB
      Yum Repositories:
      1) ID: 2323
      Name: Red Hat Enterprise Linux 8 for x86_64 - AppStream - Update Services for SAP Solutions RPMs 8.2
      Label: Red_Hat_Enterprise_Linux_8_for_x86_64_AppStream_Update_Services_for_SAP_Solutions_RPMs_8_2
      2) ID: 2322
      Name: Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Update Services for SAP Solutions RPMs 8.2
      Label: Red_Hat_Enterprise_Linux_8_for_x86_64_BaseOS_Update_Services_for_SAP_Solutions_RPMs_8_2
      3) ID: 2321
      Name: Red Hat Enterprise Linux 8 for x86_64 - High Availability - Update Services for SAP Solutions RPMs 8.2
      Label: Red_Hat_Enterprise_Linux_8_for_x86_64_High_Availability_Update_Services_for_SAP_Solutions_RPMs_8_2
      4) ID: 2325
      Name: Red Hat Enterprise Linux 8 for x86_64 - SAP NetWeaver - Update Services for SAP Solutions RPMs 8.2
      Label: Red_Hat_Enterprise_Linux_8_for_x86_64_SAP_NetWeaver_Update_Services_for_SAP_Solutions_RPMs_8_2
      5) ID: 2326
      Name: Red Hat Enterprise Linux 8 for x86_64 - SAP Solutions - Update Services for SAP Solutions RPMs 8.2
      Label: Red_Hat_Enterprise_Linux_8_for_x86_64_SAP_Solutions_Update_Services_for_SAP_Solutions_RPMs_8_2
      6) ID: 2327
      Name: Red Hat Satellite Tools 6.8 for RHEL 8 x86_64 - Update Services SAP Solutions RPMs 8.2
      Label: Red_Hat_Satellite_Tools_6_8_for_RHEL_8_x86_64_-_Update_Services_SAP_Solutions_RPMs_8_2

      [root@satellite-2 ~]# hammer erratum list --cve CVE-2022-26486 --repository-id 2323
      -----|--------------|--------|--------------------------------------|----------|----------
      ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED
      -----|--------------|--------|--------------------------------------|----------|----------
      20801 | RHSA-2022:0843 | security | Important: thunderbird security update | 2022-03-14 | 2022-03-14
      20793 | RHSA-2022:0816 | security | Critical: firefox security update | 2022-03-10 | 2022-03-10
      -----|--------------|--------|--------------------------------------|----------|----------
      [root@satellite-2 ~]# hammer erratum list --cve CVE-2022-26486 --repository-id 2322
      --|---------|----|-----|------|-------
      ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED
      --|---------|----|-----|------|-------
      [root@satellite-2 ~]# hammer erratum list --cve CVE-2022-26486 --repository-id 2321
      --|---------|----|-----|------|-------
      ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED
      --|---------|----|-----|------|-------
      [root@satellite-2 ~]# hammer erratum list --cve CVE-2022-26486 --repository-id 2325
      --|---------|----|-----|------|-------
      ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED
      --|---------|----|-----|------|-------
      [root@satellite-2 ~]# hammer erratum list --cve CVE-2022-26486 --repository-id 2326
      --|---------|----|-----|------|-------
      ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED
      --|---------|----|-----|------|-------
      [root@satellite-2 ~]# hammer erratum list --cve CVE-2022-26486 --repository-id 2327
      --|---------|----|-----|------|-------
      ID | ERRATA ID | TYPE | TITLE | ISSUED | UPDATED

      QE Tracker for https://issues.redhat.com/browse/SAT-20361
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2065862

            rh-ee-damoore David Moore
            satellite-focaccia-bot Focaccia Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: