Project

Profile

Help

Issue #7095

Pulp 3 Sync issue (.treeinfo)

Added by mathiasdasilva about 1 month ago. Updated 7 days ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:

Description

Hi,

Seems a sync from repo to remote Centos 7 extras or updates is not possible (treeinfo missing) :

Jul 07 06:38:55 XXXX rq[1171]: pulp: pulp_rpm.app.tasks.synchronizing:INFO: Synchronizing: repository=Centos-7-Extras remote=Centos-7-Extras Jul 07 06:38:56 XXXX rq[1171]: Giving up _run(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://mirror.centos.org/centos/7/extras/x86_64/.treeinfo')) Jul 07 06:38:56 XXXX rq[1171]: pulp: backoff:ERROR: Giving up _run(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://mirror.centos.org/centos/7/extras/x86_64/.treeinfo')) Jul 07 06:38:56 XXXX rq[1171]: Giving up _run(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://mirror.centos.org/centos/7/extras/x86_64/treeinfo')) Jul 07 06:38:56 XXXX rq[1171]: pulp: backoff:ERROR: Giving up _run(...) after 1 tries (aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url=URL('http://mirror.centos.org/centos/7/extras/x86_64/treeinfo')) Jul 07 06:38:56 XXXX rq[1171]: pulp: rq.worker:INFO: 1171@XXXX: Job OK (63b8830c-5ce4-47e9-8c80-fa1af48773f4)


Related issues

Blocked by Pulp - Story #7117: As a plugin writer, I can be in control when the server returns a 400+ response codeMODIFIED

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 91e8f7c6 View on GitHub
Added by Fabricio Aguiar 7 days ago

Silence 404 errors for treeinfo files

Required PR: https://github.com/pulp/pulpcore/pull/814 https://pulp.plan.io/issues/7095 closes #7095 [nocoverage]

History

#1 Updated by dkliban@redhat.com about 1 month ago

  • Project changed from Pulp to RPM Support
  • Category deleted (Installer)

#2 Updated by bmbouter about 1 month ago

  • Triaged changed from No to Yes

Thanks for filing this bug. The 404 errors are misleading because not all repositories have a .treeinfo file, yet when they don't it's logged as an error.

Proposed resolution

Smarten up the downloader in pulp_rpm to not log 404 errors for .treeinfo files since those are known to be optional.

I think that right now the downloader provided by core create this log statement from the response.raise_for_status() method.

So to fix this pulpcore will first need to fix this first: https://pulp.plan.io/issues/7117

#3 Updated by bmbouter about 1 month ago

  • Blocked by Story #7117: As a plugin writer, I can be in control when the server returns a 400+ response code added

#4 Updated by pulpbot 14 days ago

  • Status changed from NEW to POST

#5 Updated by Anonymous 7 days ago

  • Status changed from POST to MODIFIED

Please register to edit this issue

Also available in: Atom PDF