Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Retry download docker blob when connection dropped #459

Closed

Conversation

hao-yu
Copy link

@hao-yu hao-yu commented Apr 9, 2020

When syncing large docker repositories from a Red Hat registry (http://registry.redhat.io), the docker downloads will fail with connection reset by peer. This patch lets the docker plugin to retry the blob download when hitting the connection drop issue so that the task can be finished successfully.

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

@pep8speaks
Copy link

pep8speaks commented Apr 9, 2020

Hello @hao-yu! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-04-10 02:38:35 UTC

@pulpbot
Copy link
Member

pulpbot commented Apr 9, 2020

Can one of the admins verify this patch?

1 similar comment
@pulpbot
Copy link
Member

pulpbot commented Apr 9, 2020

Can one of the admins verify this patch?

@hao-yu hao-yu force-pushed the fixes_6471_retry_download_docker_blob branch from 3c86dd7 to 18f8f6d Compare April 9, 2020 13:42
@hao-yu hao-yu force-pushed the fixes_6471_retry_download_docker_blob branch from 18f8f6d to 2661483 Compare April 10, 2020 02:38
@hao-yu
Copy link
Author

hao-yu commented Apr 29, 2020

@ipanova Is this patch ok to proceed?

@ipanova
Copy link
Member

ipanova commented May 6, 2020

@hao-yu Thank you for the PR. Pulp should not keep hitting on the server if the server dropped the connection. There is a ticket opened with IT to solve issue on the server side.

@ipanova ipanova closed this May 6, 2020
@hao-yu
Copy link
Author

hao-yu commented Jul 13, 2020

@ipanova just wondering is that any plan to reconsider this patch? Or Pulp team has other plan to fix the Jira issue?

@ipanova
Copy link
Member

ipanova commented Jul 20, 2020

@hao-yu @midnightercz submitted a patch to nectar. It should solve the issue. Will you be able to help review and test it on the Satellite side?
@midnightercz can you please tag @hao-yu once you open the PR with the solved issues? https://github.com/pulp/nectar/pull/68/files

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants