Actions
Issue #7691
closedCan't sync http repository without http directory listing when no treeinfo present
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Sprint 84
Quarter:
Description
When syncing http[s] repository without treeinfo and the repository does not allow directory listing, pulp tries to fetch treeinfo and fails not because 404 not found (what is handled well) but
"description": "403, message='Forbidden', url=URL('http://amazonlinux.us-east-1.amazonaws.com/2/core/2.0/x86_64/a3ab6bd64043e16700a1be13947a8d2155362e6d4e61908a43440ffc45becdce/.treeinfo')"
Updated by dalley about 4 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 84
- Tags Easy Fix added
Updated by ppicka about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ppicka
Updated by pulpbot about 4 years ago
- Status changed from ASSIGNED to POST
Added by ppicka about 4 years ago
Updated by ppicka about 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset f35adf7717efdc7621be0fb89236c9a8342c8fe5.
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
treeinfo download fix
When .treeinfo file is missing, server returns HTTP 403 instead of HTTP 404 if the autoindex is disabled on the server.
closes: #7691 https://pulp.plan.io/issues/7691
[nocoverage] [notest]