Description of problem:
User Story: The customer's security team want only the packages
which are essential to the operation of the system, to be installed
on the system, and no other packages to be available for installation
To meet the criteria of the security team, multiple CV's are created.
"Infrastructure" is used as an example
1) Base OS CV - contains only the bare minimum packages & puppet modules for the system deployment. This is achieved by including the RHEL channel and applying
filters so that only the essential packages are included.
2) Infrastructure CV - contains the additional packages and puppet modules to
support the key application / infrastructure components. This is acheived by
including the RHEL channel and applying filters so that only the *extra* package
are available in this CV.
The packages sets produced by CV1 and CV2 do no overlap.
The problem occurs when you try to combine CV1 and CV2 into a CCV.
You will get an error
An error occurred updating the Content View: Repository conflict: 'Red Hat Enterprise Linux 7 Server - Extended Update Support - RH Common RPMs x86_64 7.2' is in RHEL7.2 2.0, Infra 1.0.,Repository conflict: 'Red Hat Enterprise Linux 7 Server - Extended Update Support RPMs x86_64 7.2' is in RHEL7.2 2.0, Infra 1.0.,Repository conflict: 'Red Hat Satellite Tools 6.1 for RHEL 7 Server - EUS RPMs x86_64 7.2' is in RHEL7.2 2.0, Infra 1.0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create CV's as described above
2. Attempt to create CCV from those CV's
As the package sets do no overlap, the CCV should produce a combined view
with all the packages & puppet modules.
Even if the package sets did overlap, as they are the same underlying
repository, the package set could be de-duped when generating the CCV.
Per 6.3 planning, moving out non acked bugs to the backlog
*** Bug 1122696 has been marked as a duplicate of this bug. ***
*** Bug 1318373 has been marked as a duplicate of this bug. ***
Upstream Katello PR: https://github.com/Katello/katello/pull/6339
Satellite 6.3 Snap 11
I created two CVs with both containing
- Red Hat Satellite Tools 6.2 for RHEL 6 Server RPMs i386
- Red Hat Satellite Tools 6.2 for RHEL 6 Server RPMs x86_64
I created an exclude filter for CV1 with
- name: *, arch: x86_64, version: all
I created an exclude filter for CV2 with
- name: *, arch: i686, version: all
I created a CCV with
(silly example, I know, but it should work :))
after publishing the CCV, I encounter no problems and the CCV contains all packages
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.
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/6757 has been resolved.