Bug 1369264

Summary: [RFE] Need new attribute for baseurl in Atomic Hosts
Product: Red Hat Enterprise Linux 7 Reporter: Partha Aji <paji>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED WONTFIX QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: khowell, redakkan, skallesh, tomckay, wpoteat
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:44:55 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 Partha Aji 2016-08-22 21:53:47 UTC
Description of problem:
Consider the following setup with an Atomic Host
Atomic Host is registered to RH Satellite and is consuming content from Sat for upgrades. Now the user runs "docker run -it registry.access.redhat.com/rhel7" and tries to "yum install screen".  This is going to cause a 404.

Basic problem here is that in a Satellite the URL used for consuming yum content is different from url used for "atomic upgrade". However subscription manager has only one 'baseurl' entry. 


Sample rhsm.conf configuration for RHEL using satellite
"""
# Unified Entitlement Platform Configuration
[server]
# Server hostname:
hostname = .....
.....

[rhsm]
# Content base URL:
baseurl= https://sat-fqdn.com/pulp/repos/
.......

"""

Sample rhsm.conf configuration for RHELAH using satellite
"""
# Unified Entitlement Platform Configuration
[server]
# Server hostname:
hostname = .....
.....

[rhsm]
# Content base URL:
baseurl= https://sat-fqdn.com/pulp/ostree/web/
.......

"""

A clean approach here would be for subscription manager to have something like

"""
# Unified Entitlement Platform Configuration
[server]
# Server hostname:
hostname = .....
.....

[rhsm]
# Content base URL:
baseurl= https://sat-fqdn.com/pulp/repos

atomic_baseurl= https://sat-fqdn.com/pulp/ostree/web/
.......

""""


This subscirption manager can use atomic_baseurl when setting /etc/ostree/remotes.d/redhat.repo while using baseurl for yum.

Comment 3 RHEL Program Management 2020-12-15 07:44:55 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.