Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1815108

Summary: Unable to access redhat repos with http proxy due to wrong protocol written to redhat.repo
Product: Red Hat Enterprise Linux 7 Reporter: Christophe Besson <cbesson>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED WONTFIX QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: high Docs Contact:
Priority: high    
Version: 7.6CC: ahogbin, ajanorka, alexander.lackner, blc, candlepin-bugs, cdonnell, csnyder, dmach, errqre, flloreda, hhei, igkioka, james.antill, jamills, jeharris, jgalipea, jmracek, jsefler, khowell, kkohli, ktordeur, mblaha, mmcgrath, mschibli, mzjamsheer123, pdwyer, prchavan, prjagtap, pstodulk, rbertolj, redakkan, rhsm-qe, rjerrido, sababu, skallesh, snejoshi, wasfv, wchadwic, wpoteat, xuli, yacao, yferszt
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1654531 Environment:
Last Closed: 2020-04-29 15:35:56 UTC Type: ---
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: 1654531    
Bug Blocks: 1623566    

Description Christophe Besson 2020-03-19 13:58:43 UTC
+++ This bug was initially created as a clone of Bug #1654531 +++

Description of problem:
-----------------------
Even after cleaning the cache and checking the network connectivity for any issues, the 'dnf repolist' command exists with an error :

# dnf repolist
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs)                                                 0.0  B/s |   0  B     00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (RPMs)                                                    0.0  B/s |   0  B     00:00
Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-beta-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-beta-rpms', ignoring this repo.



Version-Release number of selected component (if applicable): 
-------------------------------------------------------------
dnf-4.0.4-1.el8.noarch



How reproducible:
-----------------

[root@4 ~]# rm -rf /var/cache/yum/*
[root@4 ~]# rm -rf /var/cache/dnf/*
[root@4 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 Beta
Product ID:     486
Version:        8.0 Beta
Arch:           x86_64
Status:         Subscribed
Status Details:
Starts:         11/19/2018
Ends:           11/19/2019

[root@4 ~]# dnf repolist
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs)                                                 0.0  B/s |   0  B     00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (RPMs)                                                    0.0  B/s |   0  B     00:00
Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-beta-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-beta-rpms', ignoring this repo.
[root@4 ~]# dnf check-update
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs)                                                 0.0  B/s |   0  B     00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (RPMs)                                                    0.0  B/s |   0  B     00:00
Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-beta-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-beta-rpms', ignoring this repo.



Steps to Reproduce:
-------------------

- Clear the dnf cache.
- Check the status of the subscription present on the system.
- Execute the 'dnf repolist' command



Actual results:
---------------

# dnf repolist
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs)                                                 0.0  B/s |   0  B     00:00
Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (RPMs)                                                    0.0  B/s |   0  B     00:00
Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-beta-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-beta-rpms', 



Expected results:
-----------------

# dnf repolist                                                                                          
Updating Subscription Management repositories.                                                                       
Updating Subscription Management repositories.                                                                       
Last metadata expiration check: 18:31:18 ago on Wed 28 Nov 2018 01:22:06 PM IST.                                     
repo id                                    repo name                                                           status
rhel-8-for-x86_64-appstream-beta-rpms      Red Hat Enterprise Linux 8 for x86_64 - AppStream Beta (RPMs)       4,594 
rhel-8-for-x86_64-baseos-beta-rpms         Red Hat Enterprise Linux 8 for x86_64 - BaseOS Beta (RPMs)          1,686 



Additional info:
----------------

- The tcpdump of the system does not show any abnormalities in the network of the target systems.

Comment 2 Christophe Besson 2020-03-19 14:00:59 UTC
I'm requesting a backport to RHEL 7.6 EUS, as it currently prevents customer with a proxy to upgrade to RHEL 8 with leapp.

Comment 3 Christophe Besson 2020-03-19 14:06:47 UTC
Another possible errors while trying to upgrade with leapp.

Cannot download Packages/p/perl-Time-HiRes-1.9758-1.el8.x86_64.rpm: All mirrors were tried

2020-01-05 10:24:17.891466 [ERROR] Actor: target_userspace_creator Message: Unable to install RHEL 8 userspace packages.

[MIRROR] perl-Time-HiRes-1.9758-1.el8.x86_64.rpm: Curl error (35): SSL connect error for https://cdn.redhat.com/content/dist/rhel8/8.1/x86_64/appstream/os/Packages/p/perl-Time-HiRes-1.9758-1.el8.x86_64.rpm [error:1408F10B:SSL routines:ssl3_get_record:wrong version number]

Comment 6 errqre 2020-04-16 17:19:22 UTC
Is there any word on if and/or when a backport will be provided?

Comment 12 Rehana 2020-04-29 15:35:56 UTC
As per the latest release guidance, supported upgrade path of RHEL is from RHEL7.8 --> RHEL 8.2 [1] and with additional Red Hat Knowledge Base (Solution) provided in [2] moving the bug to CLOSE WONTFIX . 


[1] https://access.redhat.com/articles/4263361
[2] https://access.redhat.com/solutions/4915311