Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1515752

Summary: Incremental update of a content view with security advisories includes more packages than needed (and without proper dependency resolution)
Product: Red Hat Satellite 6 Reporter: Mihir Lele <mlele>
Component: Content ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 6.2.12CC: bbuckingham
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-01 13:56:20 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:

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:


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 ***