Project

Profile

Help

Issue #5677

closed

kickstart tree fetching does not handle missing trailing slashes

Added by jsherril@redhat.com over 2 years ago. Updated about 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:

Description

Similar to https://pulp.plan.io/issues/5655

The fix seems to only have been a partial fix and does not handle trailing slashes when downloading kickstart trees.

My repository has a url of https://cdn.redhat.com/content/dist/rhel/server/7/7.7/x86_64/kickstart/

but after syncing, i have no distribution files downloaded and in my logs i see:

Nov  7 15:56:55 devel rq: pulp: pulp_rpm.app.tasks.synchronizing:INFO: Synchronizing: repository=Red_Hat_Enterprise_Linux_7_Server_Kickstart_x86_64_7_7-83744 remote=Red_Hat_Enterprise_Linux_7_Server_Kickstart_x86_64_7_7-88753
Nov  7 15:56:56 devel rq: Giving up _run(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://cdn.redhat.com/content/dist/rhel/server/7/7.7/x86_64/.treeinfo'))
Nov  7 15:56:56 devel rq: pulp: backoff:ERROR: Giving up _run(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://cdn.redhat.com/content/dist/rhel/server/7/7.7/x86_64/.treeinfo'))
Nov  7 15:56:56 devel rq: Giving up _run(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://cdn.redhat.com/content/dist/rhel/server/7/7.7/x86_64/treeinfo'))
Nov  7 15:56:56 devel rq: pulp: backoff:ERROR: Giving up _run(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('https://cdn.redhat.com/content/dist/rhel/server/7/7.7/x86_64/treeinfo'))
Actions #1

Updated by jsherril@redhat.com over 2 years ago

  • Subject changed from kickstart tree fetching does not handle trailing slashes to kickstart tree fetching does not handle missing trailing slashes
Actions #2

Updated by fao89 over 2 years ago

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

Updated by fao89 over 2 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar over 2 years ago

Revision 7a4c959f

Handle missing trailing / on KS tree fetching

https://pulp.plan.io/issues/5677 closes #5677

Actions #4

Updated by Anonymous over 2 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by ttereshc over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #6

Updated by ggainey about 2 years ago

  • Tags Katello added
  • Tags deleted (Katello-P2)

Also available in: Atom PDF