Bug 1369264 - [RFE] Need new attribute for baseurl in Atomic Hosts
Summary: [RFE] Need new attribute for baseurl in Atomic Hosts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-22 21:53 UTC by Partha Aji
Modified: 2020-12-15 07:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 07:44:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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