Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1255875

Summary: showing all errata on a host, displays errata for any release of RHEL it contains, not just the version of the host.
Product: Red Hat Satellite Reporter: Karl Hastings <kazen>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.1CC: bbuckingham, bkearney, bmbouter, daviddavis, dkliban, ggainey, ipanova, james.antill, jcallaha, ktordeur, mhrivnak, mmccune, ovasik, pcreech, rchan, sauchter, ttereshc
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:51:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karl Hastings 2015-08-21 18:28:44 UTC
Description of problem:
The yum updateinfo command lists all the errata available, it doesn't restrict itself to repos valid for the host.

Version-Release number of selected component (if applicable):
Satellite 6.1.1 GA

How reproducible:
100%

Steps to Reproduce:
1. Synchronize multiple channels (RHEL5, RHEL6 and RHEL7)
2. Register a RHEL6 system to *only* the RHEL6 base channel
3. `yum updateinfo cve all`


Actual results:
When the errata info is displayed it lists rpms from the RHEL5 and RHEL7 channels.  I.e:

[root@rhel6host ~]# yum updateinfo cve all
Loaded plugins: boks-protect, changelog, fastestmirror, security, tmprepo, verify, versionlock
org-rhel-6                                   | 2.1 kB     00:00
org-rhel-6/primary                           |  993 B     00:00
org-rhel-6/updateinfo                        | 1.9 kB     00:00
i  CVE-2014-7169 Important/Sec. bash-3.2-33.el5_11.4.x86_64
i  CVE-2014-7186 Important/Sec. bash-3.2-33.el5_11.4.x86_64
i  CVE-2014-7187 Important/Sec. bash-3.2-33.el5_11.4.x86_64
i  CVE-2014-7169 Important/Sec. bash-4.1.2-15.el6_5.2.x86_64
i  CVE-2014-7186 Important/Sec. bash-4.1.2-15.el6_5.2.x86_64
i  CVE-2014-7187 Important/Sec. bash-4.1.2-15.el6_5.2.x86_64
   CVE-2014-7169 Important/Sec. bash-4.2.45-5.el7_0.4.x86_64
   CVE-2014-7186 Important/Sec. bash-4.2.45-5.el7_0.4.x86_64
   CVE-2014-7187 Important/Sec. bash-4.2.45-5.el7_0.4.x86_64
updateinfo list done

Expected results:
Should only display info relevant to the system.  i.e:

[root@rhel6host ~]# yum updateinfo cve all
Loaded plugins: boks-protect, changelog, fastestmirror, security, tmprepo, verify, versionlock
org-rhel-6                                   | 2.1 kB     00:00
org-rhel-6/primary                           |  993 B     00:00
org-rhel-6/updateinfo                        | 1.9 kB     00:00
i  CVE-2014-7169 Important/Sec. bash-4.1.2-15.el6_5.2.x86_64
i  CVE-2014-7186 Important/Sec. bash-4.1.2-15.el6_5.2.x86_64
i  CVE-2014-7187 Important/Sec. bash-4.1.2-15.el6_5.2.x86_64
updateinfo list done

Additional info:

Comment 11 Michael Hrivnak 2016-01-18 21:45:40 UTC
Done.

Comment 12 pulp-infra@redhat.com 2016-01-18 22:00:24 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 13 pulp-infra@redhat.com 2016-01-18 22:00:29 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 14 pulp-infra@redhat.com 2016-02-29 23:30:21 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 15 pulp-infra@redhat.com 2016-03-10 17:00:24 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 16 pulp-infra@redhat.com 2016-03-18 18:30:27 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 17 pulp-infra@redhat.com 2016-03-23 19:00:39 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.

Comment 18 pulp-infra@redhat.com 2016-03-28 21:03:50 UTC
The Pulp upstream bug status is at VERIFIED. Updating the external tracker on this bug.

Comment 19 pulp-infra@redhat.com 2016-04-05 20:34:03 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 20 Stuart Auchterlonie 2016-05-20 12:48:41 UTC
Has this been merged downstream?

Comment 21 Michael Hrivnak 2016-06-13 13:15:07 UTC
Katello does the downstream merging, so I don't know.

Comment 22 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 23 Bryan Kearney 2016-07-26 15:41:18 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 26 Stuart Auchterlonie 2016-09-02 13:27:39 UTC
From what I can see on my Sat 6.2.1 this does appear fixed.
I see no packages, only bugzilla references.

I'll let QA formally sign this off.

Regards
Stuart

# pwd
/var/www/pub/yum/https/repos/ACME/content_views/rhel6/1.0/content/dist/rhel/server/6/6Server/x86_64/os/repodata
# zcat 61b18bd24d3b0452d23c817c5b563127067f5b9c-updateinfo.xml.gz | xmllint --format - | grep el7
      <reference href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1099295" id="1099295" title="fail to redirect USB to VM running on rhel7 with grayed 'USB device selection' button when redirect it from rhel6.5 with cirrus" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1219844" id="1219844" title="Unable to resolve group memberships for AD users when using sssd-1.12.2-58.el7_1.6.x86_64 client in combination with ipa-server-3.0.0-42.el6.x86_64 with AD Trust" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/show_bug.cgi?id=1311892" id="1311892" title="Add preupgrade-assistant-el6toel7 to comps file for release" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/show_bug.cgi?id=1311901" id="1311901" title="Add preupgrade-assistant-el6toel7-data to comps file for release" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/show_bug.cgi?id=1263262" id="1263262" title="Unable to resolve group memberships for AD users when using sssd-1.12.2-58.el7_1.6.x86_64 client in combination with ipa-server-3.0.0-42.el6.x86_64 with AD Trust" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/show_bug.cgi?id=1216298" id="1216298" title="'inspect-get-icon' fails to get the icon form the rhel7.1 image" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/show_bug.cgi?id=1216305" id="1216305" title="virt-inspector fails to detect the rhel7 images" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/show_bug.cgi?id=1300639" id="1300639" title="The format of program version number is different between rhel6 and rhel7" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1280207" id="1280207" title="Unable to resolve group memberships for AD users when using sssd-1.12.2-58.el7_1.6.x86_64 client in combination with ipa-server-3.0.0-42.el6.x86_64 with AD Trust" type="bugzilla"/>
      <reference href="https://bugzilla.redhat.com/show_bug.cgi?id=1226723" id="1226723" title="Remove rhel7-specific hack" type="bugzilla"/>

Comment 27 Peter Ondrejka 2016-11-23 12:10:20 UTC
Not able to reproduce on Satellite 6.3 snap 6

Comment 28 Satellite Program 2018-02-21 16:51:07 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336