Bug 896004

Summary: changing the 'repository url' does not alter where thumbslug gets content from
Product: [Retired] Subscription Asset Manager Reporter: Tom McKay <tomckay>
Component: thumbslugAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED WONTFIX QA Contact: SAM QE List <sam-qe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.3CC: omaciel, qianzhan, sthirugn
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-29 12:41:04 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:
Bug Depends On: 896008    
Bug Blocks: 971511    

Description Tom McKay 2013-01-16 13:10:14 UTC
The headpin UI allows the CDN repository url to be changed on the 'import manifest' page. This value, however, is not propagated to the thumbslug.conf file in any way. This means that the default value, https://cdn.redhat.com will always be used.

Solution would be to open API to thumbslug to adjust this value and persist it to the thumbslug.conf file, or to have headpin update it directly.

Comment 1 Tom McKay 2013-01-16 13:14:03 UTC
On a further note, this CDN repo value is global to the entire install, it can never be adjustable on a per organization basis. It should therefore not be editable in the UI and only set at katello-configure time.

Comment 2 Tom McKay 2013-01-17 14:03:38 UTC
After some discussion the following was suggested:

+ thumbslug.conf will hold the default cdn url (as it does currently)

+ Each product in candlepin will be updated to allow having it's own cdn url. This is the broadest possible mechanism that will support third-party tools using the candlepin api (such as katello).

+ Additional parameter to the 'import manifest' api call to specify the cdn url to use (which would be applied to all products as a convenience)

Comment 4 Tom McKay 2014-08-29 12:41:04 UTC
Next SAM release does not use thumbslug