Neutron Ports assigned to Completed Pods are not reused
Bug #1945680 reported by
Maysa de Macedo Souza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-kubernetes |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently Kuryr is not reusing the Neutron Port that is assigned to a Pod with status Completed. This results is resource wastage, making the Number of Ports to increase. The issue was caused by Kuryr considering the Pod as not scheduled and consequently making the event to be skipped.
Changed in kuryr-kubernetes: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /kuryr- kubernetes/ +/811997 /opendev. org/openstack/ kuryr-kubernete s/commit/ 85a4cd14f3cecfa 6ded065fc848419 29f6bd7979
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 85a4cd14f3cecfa 6ded065fc848419 29f6bd7979
Author: Maysa Macedo <email address hidden>
Date: Thu Sep 30 16:33:09 2021 +0000
Make completed Pods Ports reusable
When the Pod has status Completed it has finalized
its job, consequently it's expected that Kuryr will
reclycle the Neutron Ports associated with it to be
used by other Pods. However, Kuryr is considering
Completed Pods as not scheduled and the event is skipped.
This commit fixes the issue by ensuring that Completed
Pods Ports recycle is done before checking for Scheduled
Pods.
Closes-Bug: #1945680 9fa76762d1f24fe e47974e72df
Change-Id: I23e7901fb016d5