Skip to content

Conversation

@tnqn
Copy link
Contributor

@tnqn tnqn commented Jun 10, 2021

Similar to other deferred cleanup operations, teardownPodNetwork should
use a different context as the original context may have expired,
otherwise CNI wouldn't been invoked, leading to leak of network
resources, e.g. IP addresses.

Signed-off-by: Quan Tian qtian@vmware.com
(cherry picked from commit 728743e)

Cherry pick of #5569

@k8s-ci-robot
Copy link

Hi @tnqn. 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/test-infra repository.

Copy link
Member

@dims dims left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jun 10, 2021

Build succeeded.

Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp
Copy link
Member

estesp commented Jun 10, 2021

This PR will need to rebase on #5594 once we cherry pick it to release/1.5 due to a change in GitHub's virtual env for Ubuntu 18.04 that includes a new Go point release.

@tnqn
Copy link
Contributor Author

tnqn commented Jun 10, 2021

Sure, will do.

Similar to other deferred cleanup operations, teardownPodNetwork should
use a different context as the original context may have expired,
otherwise CNI wouldn't been invoked, leading to leak of network
resources, e.g. IP addresses.

Signed-off-by: Quan Tian <qtian@vmware.com>
(cherry picked from commit 728743e)
@tnqn
Copy link
Contributor Author

tnqn commented Jun 11, 2021

@estesp rebased, thanks.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Jun 11, 2021

Build succeeded.

@AkihiroSuda
Copy link
Member

/ok-to-test

@tnqn
Copy link
Contributor Author

tnqn commented Jun 11, 2021

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants