Project

Profile

Help

Issue #7691

closed

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

Added by ppicka over 3 years ago. Updated over 3 years 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')"
Actions #1

Updated by dalley over 3 years ago

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

Updated by ppicka over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka
Actions #3

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST

Added by ppicka over 3 years ago

Revision f35adf77 | View on GitHub

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]

Actions #4

Updated by ppicka over 3 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by dalley over 3 years ago

  • Sprint/Milestone set to 3.8.0
Actions #6

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF