Project

Profile

Help

Issue #7691

Can't sync http repository without http directory listing when no treeinfo present

Added by ppicka 6 months ago. Updated 5 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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')"

Associated revisions

Revision f35adf77 View on GitHub
Added by ppicka 5 months ago

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]

History

#1 Updated by dalley 6 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 84
  • Tags Easy Fix added

#2 Updated by ppicka 6 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

#3 Updated by pulpbot 6 months ago

  • Status changed from ASSIGNED to POST

#4 Updated by ppicka 5 months ago

  • Status changed from POST to MODIFIED

#5 Updated by dalley 5 months ago

  • Sprint/Milestone set to 3.8.0

#6 Updated by pulpbot 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF