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 1718015

Summary: Incremental-update of errata results in inclusion of non dependant package
Product: Red Hat Satellite Reporter: Anthony Hogbin <ahogbin>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Kersom <koliveir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: dkliban, jomitsch, mmccune, paji, sauchter, ttereshc
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-01 13:17:53 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 Anthony Hogbin 2019-06-06 17:06:28 UTC
Description of problem:
=======================

When incrementally adding errata to the content view, other packages are being included that are not part of the errata. Inclusion of these gives dependency issues.

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

Customer reported in 6.2 - replicated in 6.3 and 6.5.


How reproducible:
=================

Always.


Steps to Reproduce:
===================

1. Create a content view with RHEL 7.4 EUS repository without any errata (original content);

2. Errata exclude filter 2016-October 2019-June;

3. Incremental-update of specific errata as follows:
user@server$ hammer content-view version incremental-update --content-view-version-id 260 --lifecycle-environments Library,DevTest --errata-ids RHSA-2018:3540,RHSA-2019:0271,RHSA-2019:0324,RHSA-2019:0447 --organization EXAMPLE --resolve-dependencies true

Actual results:
===============

Output of above incremental-update as follows:

[....................................................................................................................................................] [100%]
Content View: RHEL7.4 EUS version 1.1
Added Content:
  Errata:
        RHSA-2018:3540
        RHSA-2019:0271
        RHSA-2019:0324
        RHSA-2019:0447
  Packages:
        audit-libs-2.7.6-3.el7.i686
        audit-libs-2.7.6-3.el7.x86_64
  [...]
        kernel-headers-3.10.0-693.43.1.el7.x86_64
        kernel-headers-3.10.0-693.44.1.el7.x86_64
        kernel-tools-3.10.0-693.43.1.el7.x86_64
        kernel-tools-3.10.0-693.44.1.el7.x86_64
        kernel-tools-libs-3.10.0-693.43.1.el7.x86_64
        kernel-tools-libs-3.10.0-693.44.1.el7.x86_64
        kernel-tools-libs-3.10.0-693.47.2.el7.x86_64
  [...]

Note that from the above that kernel-tools-libs-3.10.0-693.46.1.el7.x86_64 is not in any of the requested errata:

 RHSA-2018:3540 - https://access.redhat.com/errata/RHSA-2019:0447 - kernel -43
 RHSA-2019:0271 - https://access.redhat.com/errata/RHSA-2019:0271 - systemd
 RHSA-2019:0324 - https://access.redhat.com/errata/RHSA-2019:0324 - kernel -44
 RHSA-2019:0447 - https://access.redhat.com/errata/RHSA-2019:0447 - No kernel tools

This (specific package) causes dependency issues on the host when a yum update is run.

Expected results:
=================

Only the packages in the requested errata are added to the view along with any dependencies.

Additional info:
================

Attempts to work around this issue by excluding this package fails.

Comment 13 Tanya Tereshchenko 2020-05-01 13:17:53 UTC
Fixed in Sat 6.6. WONTFIX in Sat 6.5.