Closed liangxia closed 2 months ago
@liangxia: This pull request references OCPQE-22529 which is a valid jira issue.
/cc @JianLi-RH @dis016 @pruan-rht @jhou1
@liangxia: all tests passed!
Full PR test history. Your PR dashboard.
@liangxia: This pull request references OCPQE-22529 which is a valid jira issue.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: pruan-rht
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Even though Fedora EPEL repository's configuration points to an HTTPS location, the default location of
mirrors.fedoraproject.org
is a redirect service that redirects to a close-by but non-deterministic mirror. It's hard to define the ingress/egress rules for a non-deterministic url. Since most of the mirrors urls are Denied by default, it loops though those mirrors which take a long time (more than an hour) to get repo/packages info. This PR aims to help in pinning down the repository location to a known FQDNmirrors.edge.kernel.org
, so it can be set in the allowlists, without affecting the performance of downloads.I've tested this, with another change in the gitlab (merge_requests/2244 in the jcasc repo), the time cost in command
dnf install xxx
from epel decreased from hours to seconds.