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 1515752 - Incremental update of a content view with security advisories includes more packages than needed (and without proper dependency resolution)
Summary: Incremental update of a content view with security advisories includes more p...
Keywords:
Status: CLOSED DUPLICATE of bug 1508169
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.2.12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-21 10:07 UTC by Mihir Lele
Modified: 2019-08-12 16:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-01 13:56:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mihir Lele 2017-11-21 10:07:02 UTC
Description of problem:

Incremental update of a content view with security advisories includes more packages than needed (and without proper dependency resolution)


Version-Release number of selected component (if applicable): 6.2.12


How reproducible:  Always

Steps to Reproduce:
1. Publish a CV by adding below repos:

a) Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server 
b) Red Hat Enterprise Linux 7 Server - Oracle Java RPMs x86_64 7Server 
c) Red Hat Enterprise Linux 7 Server - Optional RPMs x86_64 7Server 

These repos will make sure that all the required erratas are available as "Applicable" on the sat webui.

2. Add the erratas to an incremental CV update using hammer:

# hammer content-view version incremental-update --errata-ids RHSA-2017:2882,RHSA-2017:2885,RHSA-2017:2907,RHSA-2017:2930,RHSA-2017:2998,RHSA-2017:2999,RHSA-2017:3046,RHSA-2017:3047 --content-view-version-id 260 --resolve-dependencies yes --lifecycle-environments "Library" --organization-id 1



Actual results:   It is observed that attempting to add the above erratas in turn pulls some packages out of the below erratas:

RHBA-2017:2941 (systemd)
RHBA-2017:2942 (nss)

And the due to this, yum update on the host fails with dependencies.


Expected results:

The CV should either not pull packages from other errata at all, or it should automatically resolve dependencies of the dependent erratas.


Additional info:


It is observed that the below packages are added in the CV which causes issue:

nss-3.28.4-15.el7_4.i686       
nss-3.28.4-15.el7_4.x86_64              
nss-sysinit-3.28.4-15.el7_4.x86_64 
systemd-219-42.el7_4.4.x86_64  
systemd-libs-219-42.el7_4.4.x86_64 
systemd-sysv-219-42.el7_4.4.x86_64

Comment 3 Brad Buckingham 2017-12-01 13:56:20 UTC
Thanks for the bugzilla report.  This appears to be a duplicate of bug 1508169; therefore, going to close this one. Please re-open, if you feel it is a different or unique issue, providing any relevant details.

*** This bug has been marked as a duplicate of bug 1508169 ***


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