Add known issue for minimum bandwidth resource leak

Nova will leak minimum bandwidth resources in placement if a user
deletes a bound port from Neutron out-of-band. This adds a note about
how users can work around the issue.

Related-Bug: #1820588

Change-Id: I41f42c1a7595d9e6a73d1261bf1ac1d47ddadcdf
This commit is contained in:
melanie witt 2019-03-19 22:50:48 +00:00 committed by Matt Riedemann
parent 926e584136
commit 70989c3eb5

View File

@ -0,0 +1,16 @@
---
issues:
- |
Nova leaks bandwidth resources if a bound port that has QoS minimum
bandwidth rules is deleted in Neutron before the port is logically detached
from the server. To avoid any leaks, users should detach the port from the
server using the Nova API first before deleting the port in Neutron. If the
server is in a state such that the port cannot be detached using the Nova
API, bandwidth resources will be freed when the server is deleted. Another
alternative to clean up the leak is to remove the
``NET_BW_EGR_KILOBIT_PER_SEC`` and/or ``NET_BW_IGR_KILOBIT_PER_SEC``
allocations related to the deleted port for the server `using the CLI`_.
See related bug https://bugs.launchpad.net/nova/+bug/1820588 for more
details.
.. _using the CLI: https://docs.openstack.org/osc-placement/latest/cli/index.html#resource-provider-allocation-set