Bug 1526564 - [RFE] [sat-e-492] [SAT-506] allow adding arch and releasever to custom repos
Summary: [RFE] [sat-e-492] [SAT-506] allow adding arch and releasever to custom repos
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.2.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.9.0
Assignee: Jeremy Lenz
QA Contact: Cole Higgins
URL:
Whiteboard:
: 1217261 1673414 1756330 (view as bug list)
Depends On:
Blocks: 260381
TreeView+ depends on / blocked
 
Reported: 2017-12-15 18:34 UTC by Maxim Burgerhout
Modified: 2023-09-06 11:21 UTC (History)
29 users (show)

Fixed In Version: tfm-rubygem-katello-3.18.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:11:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24166 0 High Closed [sat-e-492] Allow adding releasever to custom repos 2021-02-16 13:44:21 UTC
Red Hat Knowledge Base (Solution) 3631251 0 None None None 2018-10-02 17:54:54 UTC
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:11:51 UTC

Description Maxim Burgerhout 2017-12-15 18:34:41 UTC
Description of problem:
If a CV exists, with both RHEL6 and RHEL7 base repos in it, a system connected to the CV will only 'see' the repos that match the version of RHEL installed on the system.

For custom products, this does not work.

This is especially cumbersome in container environments. 

My customer, for example, has Atomic Host nodes connected to the Default Library View (to get access to new RPMs as soon as we release new container images).

In that Default Org View are also EPEL6 and EPEL7. RHEL6 containers nicely only 'see' and enable the RHEL6 base repos, but they have both EPEL6 and EPEL7 enabled. Same goes for RHEL7 containers, but the other way around.

This is cumbersome.

As I discussed with Rich Jerrido, it would be useful if we could inject some specific tags into the custom product and product certificate that makes sure that on RHEL6 containers (or VMs) only EPEL6 is enabled, and on RHEL7 containers (or VMs) only EPEL7 is enabled, even though both are available from the same CV.

Hope this makes sense :)


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


How reproducible:


Steps to Reproduce:
1. Add both RHEL6 and RHEL7 base repos, EPEL6 and EPEL7. Sync all.
2. Connect new system to Default Org View
3. Spin up RHEL6 or RHEL7 container

Actual results:
Container sees only appropriate RHEL6 *or* RHEL7 content, but both EPEL6 *and* EPEL7.

Expected results:
Container sees only appropriate RHEL6 *or* RHEL7 content, and only appropriate EPEL6 *or* EPEL7.

Additional info:

Comment 5 Tom McKay 2018-07-05 14:33:11 UTC
Created redmine issue https://projects.theforeman.org/issues/24166 from this bug

Comment 10 Satellite Program 2018-09-20 12:04:13 UTC
Upstream bug assigned to tomckay

Comment 11 Satellite Program 2018-09-20 12:04:18 UTC
Upstream bug assigned to tomckay

Comment 13 Rich Jerrido 2018-10-02 17:54:55 UTC
*** Bug 1634108 has been marked as a duplicate of this bug. ***

Comment 16 Rich Jerrido 2019-02-15 13:37:54 UTC
*** Bug 1673414 has been marked as a duplicate of this bug. ***

Comment 18 Rich Jerrido 2019-02-18 13:18:46 UTC
For customers who are doing builds of containers on top of a RHEL host, this RFE would be useful to prevent repos which do not match the containers OS from being enabled.

Comment 22 Rich Jerrido 2019-10-04 14:14:19 UTC
*** Bug 1756330 has been marked as a duplicate of this bug. ***

Comment 25 Sean O'Keeffe 2019-12-19 08:26:32 UTC
*** Bug 1217261 has been marked as a duplicate of this bug. ***

Comment 32 Bryan Kearney 2020-10-12 20:01:15 UTC
Upstream bug assigned to jlenz

Comment 33 Bryan Kearney 2020-10-12 20:01:18 UTC
Upstream bug assigned to jlenz

Comment 35 Bryan Kearney 2020-11-03 08:01:25 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/24166 has been resolved.

Comment 41 errata-xmlrpc 2021-04-21 13:11:19 UTC
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 (Moderate: Satellite 6.9 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1313


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