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 1654715 - access the CDN repositories trough a squid proxy failed - Failed to synchronize cache for repo
Summary: access the CDN repositories trough a squid proxy failed - Failed to synchron...
Keywords:
Status: CLOSED DUPLICATE of bug 1654531
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: 8.0
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks: 1623566
TreeView+ depends on / blocked
 
Reported: 2018-11-29 13:51 UTC by Markus Schibli
Modified: 2019-02-21 22:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-07 15:21:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Article) 3726131 0 None None None 2018-11-30 15:03:14 UTC

Internal Links: 1647562

Description Markus Schibli 2018-11-29 13:51:39 UTC
Description of problem:

When trying to access the CDN repositories with a rhel8 system trough a squid proxy, the following errors are shown:

# dnf --debuglevel=10 repolist
timer: config: 3 ms
Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, product-id, repoclosure, repograph, repomanage, reposync, subscription-manager
Updating Subscription Management repositories.
DNF version: 4.0.4
Command: dnf --debuglevel=10 repolist 
Installroot: /
Releasever: 8
cachedir: /var/cache/dnf
Base command: repolist
Extra commands: ['--debuglevel=10', 'repolist']
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream HTB (RPMs)                                                     0.0  B/s |   0  B     00:01    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS HTB (RPMs)                                                        0.0  B/s |   0  B     00:01    
Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-htb-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-htb-rpms', ignoring this repo.

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

# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.3.9-1
subscription management rules: 5.26
subscription-manager: 1.23.8-1.el8

How reproducible:

1. add proxy server to the subscription-manager:
# subscription-manager config --server.proxy_hostname=squid.corp.redhat.com --server.proxy_port=3128
 
2. run the commnd:
# dnf --debuglevel=10 repolist


Steps to Reproduce:
1. # subscription-manager config --server.proxy_hostname=squid.corp.redhat.com --server.proxy_port=3128
2. # dnf --debuglevel=10 repolist
3.

Actual results:
Failed to synchronize cache for repo 'rhel-8-for-x86_64-appstream-htb-rpms', ignoring this repo.
Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-htb-rpms', ignoring this repo.

Expected results:
synch repolist

Additional info:

Comment 3 Chris Snyder 2019-01-07 15:21:08 UTC

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


Note You need to log in before you can comment on or make changes to this bug.