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.