Skip to content

Make StopContainer RPC idempotent#10521

Merged
mxpv merged 1 commit intocontainerd:mainfrom
saschagrunert:idempotence-ctr
Jul 30, 2024
Merged

Make StopContainer RPC idempotent#10521
mxpv merged 1 commit intocontainerd:mainfrom
saschagrunert:idempotence-ctr

Conversation

@saschagrunert
Copy link
Copy Markdown
Contributor

Similar to container removal, the stop of a container should be a noop if the container has not been found.

Found during: kubernetes-sigs/cri-tools#1536

Similar to container removal, the stop of a container should be a noop if
the container has not been found.

Found during: kubernetes-sigs/cri-tools#1536

Signed-off-by: Sascha Grunert <[email protected]>
@k8s-ci-robot
Copy link
Copy Markdown

Hi @saschagrunert. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@mxpv mxpv added this pull request to the merge queue Jul 30, 2024
Merged via the queue into containerd:main with commit 7bcc785 Jul 30, 2024
@samuelkarp samuelkarp added cherry-pick/1.6.x cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch labels Jul 30, 2024
@saschagrunert saschagrunert deleted the idempotence-ctr branch July 31, 2024 06:56
@saschagrunert
Copy link
Copy Markdown
Contributor Author

/cherrypick release/1.6

@saschagrunert
Copy link
Copy Markdown
Contributor Author

/cherrypick release/1.7

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@saschagrunert: only containerd org members may request cherry picks. If you are already part of the org, make sure to change your membership to public. Otherwise you can still do the cherry-pick manually.

Details

In response to this:

/cherrypick release/1.6

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@saschagrunert: only containerd org members may request cherry picks. If you are already part of the org, make sure to change your membership to public. Otherwise you can still do the cherry-pick manually.

Details

In response to this:

/cherrypick release/1.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@samuelkarp
Copy link
Copy Markdown
Member

/cherrypick release/1.7

(I'm fairly sure this automated cherry-pick will fail as there have been significant differences in the CRI files; 1.7 has 2 separate CRI implementations and 1.6 has only the legacy one which is not present in 2.0. Manual backports are likely going to be required here.)

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@samuelkarp: new pull request created: #10529

Details

In response to this:

/cherrypick release/1.7

(I'm fairly sure this automated cherry-pick will fail as there have been significant differences in the CRI files; 1.7 has 2 separate CRI implementations and 1.6 has only the legacy one which is not present in 2.0. Manual backports are likely going to be required here.)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@samuelkarp
Copy link
Copy Markdown
Member

/cherrypick release/1.6

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@samuelkarp: new pull request created: #10530

Details

In response to this:

/cherrypick release/1.6

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@samuelkarp samuelkarp added cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch cherry-picked/sbserver Changes are backported to sbserver and removed cherry-pick/1.6.x cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch labels Jul 31, 2024
@samuelkarp samuelkarp added the cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI) cherry-picked/sbserver Changes are backported to sbserver cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch kind/enhancement needs-ok-to-test size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants