Bug 2021985

Summary: [BUG] Upgrading Satellite 6.9 with custom certificates to Satellite 6.10 beta will cause the same problem to occur as BZ# 1961886
Product: Red Hat Satellite Reporter: Sayan Das <saydas>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Omkar Khatavkar <okhatavk>
Severity: high Docs Contact:
Priority: high    
Version: 6.10.0CC: cobrown, jsherril, ldelouw, mvanderw, okhatavk, osousa, pcreech, peter.vreman, pmendezh, pmoravec
Target Milestone: 6.11.0Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2027817 (view as bug list) Environment:
Last Closed: 2022-07-05 14:30:00 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 Sayan Das 2021-11-10 14:01:37 UTC
Description of problem:

Upgrading Satellite 6.9 with custom certificates to Satellite 6.10 beta will cause the same problem to occur as described and fixed in Bugzilla 1961886 .

The issue is apparently fixed on a new installation of 6.10 beta but for upgraded Satellite, the issue persists.

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

Satellite 6.10 Beta


How reproducible:
100%

Steps to Reproduce:
1. Install Satellite 6.9 with custom certs

2. Import manifest, enable repos, sync them , register a client with satellite

3. Upgrade the satellite to 6.10 beta after performing pulp2 to pulp3 migration.

4. Run "yum clean all && yum repolist -v" on the client system.


Actual results:

Step 4 fails with error like:

https://satellite.example.com/pulp/repos/RedHat/Library/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/solutions/69319

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

https://satellite.example.com/pulp/repos/RedHat/Library/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.


Expected results:


* No errors in yum post upgrade


* satellite-installer should be able to fix this on it's own during upgrade itself.


Additional info:

An easy fix is:

either to create a custom repo with "Publish Via HTTP" disabled 

or, to edit an existing custom repo to disable "Publish Via HTTP" and then re-enable the same.

Comment 2 Pavel Moravec 2021-11-10 21:42:37 UTC
Worth to have KCS for this? If this wont be fixed in 6.10 GA, it would be hit by bunch of customers.

Comment 3 Sayan Das 2021-11-11 03:38:17 UTC
(In reply to Pavel Moravec from comment #2)
> Worth to have KCS for this? If this wont be fixed in 6.10 GA, it would be
> hit by bunch of customers.

Yeah, I will be creating it within next 24 hours and attach with the BZ.

Comment 8 Omkar Khatavkar 2022-05-09 15:17:18 UTC
Upgraded satellite 6.9 to 6.11 no issues found while satellite updated using custom certs. Repos are able to sync with clients working as expected.

Comment 11 errata-xmlrpc 2022-07-05 14:30:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498