Neutron Ports assigned to Completed Pods are not reused

Bug #1945680 reported by Maysa de Macedo Souza
6
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-kubernetes (master)

Reviewed: https://review.opendev.org/c/openstack/kuryr-kubernetes/+/811997
Committed: https://opendev.org/openstack/kuryr-kubernetes/commit/85a4cd14f3cecfa6ded065fc84841929f6bd7979
Submitter: "Zuul (22348)"
Branch: master

commit 85a4cd14f3cecfa6ded065fc84841929f6bd7979
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
    Change-Id: I23e7901fb016d59fa76762d1f24fee47974e72df

Changed in kuryr-kubernetes:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kuryr-kubernetes 6.0.0.0rc1

This issue was fixed in the openstack/kuryr-kubernetes 6.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.