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 1726829 - Missing rpms in erratum pkglist when an erratum appears in multiple enabled repos
Summary: Missing rpms in erratum pkglist when an erratum appears in multiple enabled r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.5.2
Assignee: satellite6-bugs
QA Contact: Kersom
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-03 20:16 UTC by Mike McCune
Modified: 2023-09-07 20:12 UTC (History)
18 users (show)

Fixed In Version: pulp-rpm-2.18.1.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1713274
Environment:
Last Closed: 2019-08-06 14:37:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
pulp-rpm-plugins-2.18.1.5-3.HOTFIXRHBZ1726829.el7sat.noarch.rpm (387.69 KB, application/x-rpm)
2019-07-18 20:35 UTC, Mike McCune
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 4880 0 Normal CLOSED - CURRENTRELEASE Missing rpms in erratum pkglist when an erratum appears in multiple repos caused wrong applicability calculation. 2019-07-11 08:02:08 UTC
Red Hat Product Errata RHBA-2019:2363 0 None None None 2019-08-06 14:37:43 UTC

Comment 3 pulp-infra@redhat.com 2019-07-04 07:32:32 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2019-07-04 07:32:33 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2019-07-11 08:02:09 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 7 Mike McCune 2019-07-16 17:43:46 UTC
*** 6.5.1 Hotfix Available ***

We are making a hotfix available for this bug. This fix only for Satellite Servers and not Capsules. Instructions for use:

1) Download pulp-rpm-plugins-2.18.1.5-2.HOTFIXRHBZ1726829.el7sat.noarch.rpm from this Bugzilla to your Satellite 6.5.1 server 

2) foreman-maintain service stop

3) Upgrade hotfix RPM

# rpm -Uvh pulp-rpm-plugins-2.18.1.5-2.HOTFIXRHBZ1726829.el7sat.noarch.rpm

4) foreman-maintain service start

5) Regenerate applicability for all Library repos


# foreman-rake console

paste in the following line:

Katello::Repository.where(library_instance_id: nil).each { |repo| ForemanTasks.async_task(Actions::Pulp::Repository::RegenerateApplicability, pulp_id: repo.pulp_id) }
exit

6) Wait for all tasks generated from above command to complete. This can be monitored via "Monitor -> Tasks -> Running filter"

7) Re-import applicability data into UI:

# foreman-rake katello:import_applicability

8) Resume operations.

Comment 9 Mike McCune 2019-07-18 20:35:04 UTC
Created attachment 1591868 [details]
pulp-rpm-plugins-2.18.1.5-3.HOTFIXRHBZ1726829.el7sat.noarch.rpm

Comment 10 Mike McCune 2019-07-18 20:36:29 UTC
*** Updated hotfix added ***

please use pulp-rpm-plugins-2.18.1.5-3.HOTFIXRHBZ1726829.el7sat.noarch.rpm as attached.

The -2 version did not correctly build and was missing the patch containing the fix. Apologies for the error.

Comment 12 Kersom 2019-07-19 15:17:23 UTC
Followed the steps to reproduce:
1. Ensure you have a RHEL 7 client with older ruby version. Lets say Client 'A'.

Ruby packages on Client.

[root@satclientruby ~]# rpm -qa | grep ruby | sort
ruby-2.0.0.598-25.el7_1.x86_64
rubygem-bigdecimal-1.2.0-25.el7_1.x86_64
rubygem-io-console-0.4.2-25.el7_1.x86_64
rubygem-json-1.7.7-25.el7_1.x86_64
rubygem-psych-2.0.0-25.el7_1.x86_64
rubygem-rdoc-4.0.0-25.el7_1.noarch
rubygems-2.0.14-25.el7_1.noarch
ruby-irb-2.0.0.598-25.el7_1.noarch
ruby-libs-2.0.0.598-25.el7_1.x86_64
[root@satclientruby ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.6 (Maipo)

2. Enable and sync 'rhel-7-server-rpms' repo
3. Go to Web UI -> Hosts -> Content Hosts -> Client 'A' -> Errata tab -> Filter "id = RHSA-2019:1235" should show this erratum is applicable/installable.
4. Enable and sync 'rhel-7-server-optional-debug-rpms' repo
5. Now need to do something so that we can FORCE recalculate the applicability for Client 'A'
6. Wait for the regenerate applicability task to finish
7. Go to Web UI -> Hosts -> Content Hosts -> Client 'A' -> Errata tab -> Filter "id = RHSA-2019:1235" shows empty result.

Results:

Errata RHSA-2019:1235 is applicable to the Client A. See attachment 1591994 [details].

Comment 14 errata-xmlrpc 2019-08-06 14:37:35 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/RHBA-2019:2363


Note You need to log in before you can comment on or make changes to this bug.