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

Handle pod deletion when PrevResult has VLAN 0 #2323

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

jdn5126
Copy link
Contributor

@jdn5126 jdn5126 commented Mar 17, 2023

What type of PR is this?
bug

Which issue does this PR fix:
#2321

What does this PR do / Why do we need it:
This PR handles the case where a pod being deleted has a PrevResult entry with a VLAN of 0. This fix is needed in the 1.11 release train so that if a customer creates a pod with v1.12.1+ and then decides they need to downgrade to 1.11, the pod can be deleted without issue.

If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:
N/A

Testing done on this change:
Manually created pods with v1.12.1+, then downgraded to an image with this change and verified that pods could be deleted. Also verified that integration tests pass.

Automation added to e2e:
N/A

Will this PR introduce any new dependencies?:
N/A

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
No, Yes

Does this change require updates to the CNI daemonset config files to work?:
No

Does this PR introduce any user-facing change?:
Yes

Handle pod deletion when PrevResult has VLAN 0 in 1.11 release train

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jdn5126 jdn5126 requested a review from a team as a code owner March 17, 2023 20:40
achevuru
achevuru previously approved these changes Mar 22, 2023
@jayanthvn
Copy link
Contributor

lgtm

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.

3 participants