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

Non-SGPP pods created in v1.12.1+ cannot be deleted in v1.11.4 #2321

Closed
jdn5126 opened this issue Mar 17, 2023 · 2 comments
Closed

Non-SGPP pods created in v1.12.1+ cannot be deleted in v1.11.4 #2321

jdn5126 opened this issue Mar 17, 2023 · 2 comments
Labels

Comments

@jdn5126
Copy link
Contributor

jdn5126 commented Mar 17, 2023

What happened:
Due to #2145, pods created in v1.12.1+ create a PrevResult with a VLAN ID of 0. In v1.11.4 (really anything < v1.12.1), in tryDelWithPrevResult, if PrevResult exists and has a VLAN ID of 0, we return error and do not delete.

Attach logs

error killing pod: failed to "KillPodSandbox" for "8d5583d3-535d-4106-b3be-d42a6d735056" with KillPodSandboxError: "rpc error: code = Unknown desc = networkPlugin cni failed to teardown pod \"test-app-5dc4bf8b96-j6rx5_default\" network: del cmd: failed to delete with prevResult: malformed vlanID in prevResult: 0"

What you expected to happen:
Pod to be deleted

How to reproduce it (as minimally and precisely as possible):

  1. Create pod with VPC CNI v1.12.1+
  2. Downgrade VPC CNI to v1.11.4
  3. Delete pod

Anything else we need to know?:
No

Environment:

  • Kubernetes version (use kubectl version): all
  • CNI Version: v1.11.4
  • OS (e.g: cat /etc/os-release): AL2
  • Kernel (e.g. uname -a): Linux 5.4
@jdn5126
Copy link
Contributor Author

jdn5126 commented Mar 30, 2023

Closing as fixed by #2323 . Fix will ship in v1.11.5

@jdn5126 jdn5126 closed this as completed Mar 30, 2023
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant