Bug 2001088 - Some mirror list syncs fail due to bad url encoding
Summary: Some mirror list syncs fail due to bad url encoding
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-03 18:34 UTC by Tanya Tereshchenko
Modified: 2021-11-16 14:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:13:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 9329 0 High CLOSED - CURRENTRELEASE Regression: Syncing mirrolist based remotes do fail again since 3.14.1 2021-10-20 20:08:38 UTC
Pulp Redmine 9394 0 High CLOSED - CURRENTRELEASE Backport #9329 "Regression: Syncing mirrolist based remotes do fail again since 3.14.1" to 3.14.z 2021-09-30 14:07:32 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:13:49 UTC

Description Tanya Tereshchenko 2021-09-03 18:34:27 UTC
Description of problem:

Mirror list URLs of a specific format are not encoded properly.

Sync works for https://mirrors.fedoraproject.org/mirrorlist?repo=epel-modular-8&arch=x86_64&infra=stock&content=centos
Sync fails for http://mirrorlist.centos.org/?arch=x86_64&release=8&repo=opstools-collectd-5

Failure:
 Task /pulp/api/v3/tasks/b1f34e98-7ea2-4994-84b5-58ea3ee4b1e5/ failed: '404, message='Not Found', url=URL('http://mirrorlist.centos.org/%3Farch=x86_64&release=8&repo=opstools-collectd-5')

Comment 1 pulp-infra@redhat.com 2021-09-03 19:06:46 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 2 pulp-infra@redhat.com 2021-09-03 19:06:47 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 3 pulp-infra@redhat.com 2021-09-09 05:07:50 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 4 pulp-infra@redhat.com 2021-09-10 02:22:10 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2021-09-22 18:09:13 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2021-09-22 19:08:07 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

Comment 7 pulp-infra@redhat.com 2021-09-30 14:07:33 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 8 pulp-infra@redhat.com 2021-09-30 14:07:34 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 9 Lai 2021-10-05 15:56:33 UTC
Steps to retest:

1. Created a product
2. Create 2 repos:
   one for: https://mirrors.fedoraproject.org/mirrorlist?repo=epel-modular-8&arch=x86_64&infra=stock&content=centos
   another for: http://mirrorlist.centos.org/?arch=x86_64&release=8&repo=opstools-collectd-5
3. Sync repos


Expected result:
Repos should sync successfully

Actual:
Repos synced successfully

Verified on 6.10_21 with python3-pulp-rpm-3.14.5-1.el7pc.noarch

Comment 10 pulp-infra@redhat.com 2021-10-11 20:09:07 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 11 pulp-infra@redhat.com 2021-10-11 20:09:08 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 12 pulp-infra@redhat.com 2021-10-20 20:08:39 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 15 errata-xmlrpc 2021-11-16 14:13:42 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.10 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-2021:4702


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