Bug 1702081

Summary: [RFE] Support for Hub/Spoke architecture in Satellite 6
Product: Red Hat Satellite Reporter: wclark
Component: RH Cloud - InsightsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Radovan Drazny <rdrazny>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.2CC: bkearney, rjerrido
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
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: 2019-04-25 17:12:48 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:
Embargoed:

Description wclark 2019-04-22 22:13:43 UTC
The RFE is for full support of a Hub/Spoke architecture where multiple 'spoke' Satellites are synced from a single 'Hub' Satellite which syncs from the CDN.

Currently limited support requires the following change to rubygem-foreman-redhat_access, which gets overwritten every time the package is updated (due to the path changing when the version is updated):

/opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access-2.2.0/app/services/redhat_access/telemetry/look_ups.rb

Here is the diff:

# diff look_ups.rb look_ups.rb.041919
68c68,73
<         return false
---
>         if org
>           # TODO: fix hard coding
>           org.redhat_repository_url != 'https://cdn.redhat.com'
>         else
>           raise(RecordNotFound, 'Organization not found or invalid')
>         end

Comment 5 Rich Jerrido 2019-04-25 17:12:48 UTC

*** This bug has been marked as a duplicate of bug 1611621 ***