Bug 1767586

Summary: Unable to enable the tools repository for Satellite 6.6.
Product: Red Hat Satellite Reporter: Avijit Roy <avroy>
Component: CandlepinAssignee: Barnaby Court <bcourt>
Status: CLOSED CURRENTRELEASE QA Contact: jcallaha
Severity: high Docs Contact:
Priority: high    
Version: 6.6.0CC: ahumbe, csnyder, fperalta, kupadhya, mshimura, saydas, vmeghana
Target Milestone: UnspecifiedKeywords: Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: candlepin-2.9.18-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1767981 (view as bug list) Environment:
Last Closed: 2019-11-07 10:41:46 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: 1768473    
Bug Blocks:    

Description Avijit Roy 2019-10-31 18:04:48 UTC
Description of problem:

After upgrading to satellite 6.6 while enabling tools repository, getting below error:

------------------------
Error:
CDN loading error: access forbidden to https://cdn.redhat.com:443/content/dist/rhel/server/6/6Server/x86_64/sat-tools/6.6/os/repodata/repomd.xml
------------------------

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

Red Hat Satellite 6.6

How reproducible:

100%

Steps to Reproduce:
1. Upgrade/Install Satellite 6.6 
2. Enable tools repository. 
3.

Actual results:

Throwing below error:

------------------------
Error:
CDN loading error: access forbidden to https://cdn.redhat.com:443/content/dist/rhel/server/6/6Server/x86_64/sat-tools/6.6/os/repodata/repomd.xml
------------------------


Expected results:

Tools repository should be getting enabled without any error. 

Additional info:

We already tried below steps :

1. Removed one subscription that provides RHEL, added it back to manifest and refreshed the manifest. 
2. Added a new subscription to the manifest and refreshed the manifest. 
3. Removed all subscriptions from the manifest and added them back. Refreshed the manifest. 

None of the above attempts were able to fix the problem. The issue only exists for satellite 6.6 tools specific repositories but nothing else.

Comment 5 Chris Snyder 2019-11-01 15:16:01 UTC
Without the entitlement granted via a manifest refresh, new content available on the CDN (even if included in the already in use subscriptions) can't be accessed. This is an artefact of the current design of our subscription experience.

Comment 6 Ashish Humbe 2019-11-01 18:13:05 UTC
Hello Chris,

Manifest refresh was the very first step all these customers tried, even after manifest refresh they were not able to enable the Sat tools 6.6 repo so they had to remove all the subscriptions from manifest and add them back. 

The intent of this bugzilla is that the manifest refresh should provide access to tools repo, but for some customers its not working. 

Hope that makes it clear.

Comment 7 Barnaby Court 2019-11-07 10:41:46 UTC
This has been fixed in the Customer Portal. A customer will need to export a new copy of their manifest and import it or refresh from within Satellite.