Bug 1416265

Summary: neutron-ns-metadata-proxy are not deleted after network is deleted
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: openstack-neutronAssignee: Daniel Alvarez Sanchez <dalvarez>
Status: CLOSED ERRATA QA Contact: Itzik Brown <itbrown>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: amuller, chrisw, jschluet, mlopes, nyechiel, srevivo
Target Milestone: z2Keywords: ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-23 16:35:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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

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):
openstack-neutron-9.1.1-2.el7ost.noarch
python-neutron-lbaas-9.1.0-2.el7ost.noarch

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:
openstack-neutron-9.2.0-2.el7ost.noarch

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.

https://rhn.redhat.com/errata/RHBA-2017-0314.html