yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45709
[Bug 1540939] [NEW] Instance delete causing port leak
Public bug reported:
Nova can cause a neutron port leak after deleting an instance.
If neutron has the port binding extension installed, then nova uses admin credentials to create the port during instance create:
https://github.com/openstack/nova/blob/master/nova/network/neutronv2/api.py#L537
However, during instance delete, nova always uses the user creds:
https://github.com/openstack/nova/blob/master/nova/network/neutronv2/api.py#L739
Depending on the neutron policy settings, this can leak ports in
neutron.
Can someone explain this behavior?
We are running on nova kilo.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1540939
Title:
Instance delete causing port leak
Status in OpenStack Compute (nova):
New
Bug description:
Nova can cause a neutron port leak after deleting an instance.
If neutron has the port binding extension installed, then nova uses admin credentials to create the port during instance create:
https://github.com/openstack/nova/blob/master/nova/network/neutronv2/api.py#L537
However, during instance delete, nova always uses the user creds:
https://github.com/openstack/nova/blob/master/nova/network/neutronv2/api.py#L739
Depending on the neutron policy settings, this can leak ports in
neutron.
Can someone explain this behavior?
We are running on nova kilo.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1540939/+subscriptions
Follow ups