Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not abort image-pull in Extracting phase #376

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

xinfengliu
Copy link
Contributor

Do not abort image-pull when progress deadline (1 minute) is reached during Extracting phase because some large images need more than 1 minute to extract.

Fixes #372

Proposed Changes

  • Modify progress.get() to return status as well
  • Only when status is not Extracting and the progress deadline is reached, abort the image-pull.

libdocker/kube_docker_client.go Outdated Show resolved Hide resolved
libdocker/kube_docker_client.go Outdated Show resolved Hide resolved
@xinfengliu xinfengliu force-pushed the fix-image-pull-abortion branch from 24f8c9b to 44b300b Compare June 17, 2024 01:48
@nwneisen nwneisen merged commit a06edf8 into Mirantis:master Jun 18, 2024
11 checks passed
xinfengliu added a commit to xinfengliu/cri-dockerd that referenced this pull request Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pulling image could fail when the image is large
3 participants