Bug 1416265 - neutron-ns-metadata-proxy are not deleted after network is deleted
Summary: neutron-ns-metadata-proxy are not deleted after network is deleted
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
Target Milestone: z2
: 10.0 (Newton)
Assignee: Daniel Alvarez Sanchez
QA Contact: Itzik Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2017-01-25 05:26 UTC by Itzik Brown
Modified: 2020-09-20 13:16 UTC (History)
6 users (show)

Fixed In Version: openstack-neutron-9.1.1-8.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, when a network was deleted, all ports and subnets were deleted before it could be determined if a metadata proxy had been spawned. Consequently, a false negative proxy was not killed, causing the system to eventually run out of memory. With this update, the metadata proxy process is killed unconditionally when the network is deleted.
Clone Of:
Last Closed: 2017-02-23 16:35:04 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Launchpad 1648095 0 None None None 2017-01-25 07:22:52 UTC
OpenStack gerrit 411566 0 None MERGED Kill the metadata proxy process unconditionally 2021-02-03 08:45:23 UTC
Red Hat Product Errata RHBA-2017:0314 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2017-02-23 21:33:22 UTC

Description Itzik Brown 2017-01-25 05:26:17 UTC
Description of problem:
When using the following in DHCP agent configuation:

When network is deleted neutron-ns-metadata-proxy is not deleted and after couple of networks are created and deleted and eventually the system is out of memory.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Configure force_metadata=True in /etc/neutron/dhcp_agent.ini
2.Restart DHCP agent - systemctl restart neutron-dhcp-agent
3.Create a network
4.Delete the network
5.Verify the process is not killed
  On the controller run ps -ef |grep <network-id> |grep neutron-ns-metadata-proxy 

Actual results:

Expected results:

Additional info:

Comment 1 Nir Yechiel 2017-01-25 07:27:02 UTC
Raising priority is this affects our OpenDaylight+Neutron integration. Due to this bug we see 100% memory consumption on the overcloud nodes which make them unusable.

Comment 5 Itzik Brown 2017-02-15 12:12:01 UTC
Verified with:

Comment 7 errata-xmlrpc 2017-02-23 16:35:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.