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

Add image removal lock to image server #7850

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

saschagrunert
Copy link
Member

What type of PR is this?

/kind bug

What this PR does / why we need it:

We now avoid removing images when a sandbox or container creation is in progress. This should close the gap in the outlined corner case in:

kubernetes/kubernetes#123631

Refers to kubernetes/kubernetes#123711 as well.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

Fixed bug where images can be removed during sandbox or container creation.

@openshift-ci openshift-ci bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Mar 6, 2024
@openshift-ci openshift-ci bot requested review from klihub and QiWang19 March 6, 2024 10:44
@openshift-ci openshift-ci bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/bug Categorizes issue or PR as related to a bug. labels Mar 6, 2024
Copy link
Contributor

openshift-ci bot commented Mar 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 6, 2024
@saschagrunert saschagrunert changed the title Add image removal lock to image server WIP: Add image removal lock to image server Mar 6, 2024
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 6, 2024
@saschagrunert saschagrunert changed the title WIP: Add image removal lock to image server Add image removal lock to image server Mar 6, 2024
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 6, 2024
@saschagrunert saschagrunert force-pushed the image-removal-lock branch 2 times, most recently from 3bd60e4 to 4c520c2 Compare March 6, 2024 11:06
Copy link

codecov bot commented Mar 6, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 49.71%. Comparing base (b20fce0) to head (64a606c).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7850      +/-   ##
==========================================
- Coverage   49.73%   49.71%   -0.03%     
==========================================
  Files         153      153              
  Lines       16811    16841      +30     
==========================================
+ Hits         8361     8372      +11     
- Misses       7408     7425      +17     
- Partials     1042     1044       +2     

@saschagrunert saschagrunert force-pushed the image-removal-lock branch 2 times, most recently from 5e88f33 to bd30ba3 Compare March 7, 2024 09:05
@saschagrunert saschagrunert force-pushed the image-removal-lock branch 2 times, most recently from 70b6b21 to 8cb5dbe Compare March 7, 2024 15:36
Copy link

github-actions bot commented Apr 7, 2024

A friendly reminder that this PR had no activity for 30 days.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 7, 2024
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 28, 2024
@github-actions github-actions bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 29, 2024
We now avoid removing images when a sandbox or container creation is in
progress. This should close the gap in the outlined corner case in:

kubernetes/kubernetes#123631

Refers to kubernetes/kubernetes#123711 as well.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/bug Categorizes issue or PR as related to a bug. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants