neutron/neutron/cmd
Daniel Alvarez 3b22541a2a Switch ns-metadata-proxy to haproxy
Due to the high memory footprint of current Python ns-metadata-proxy,
it has to be replaced with a lighter process to avoid OOM conditions in
large environments.

This patch spawns haproxy through a process monitor using a pidfile.
This allows tracking the process and respawn it if necessary as it was
done before. Also, it implements an upgrade path which consists of
detecting any running Python instance of ns-metadata-proxy and
replacing them by haproxy. Therefore, upgrades will take place by
simply restarting neutron-l3-agent and neutron-dhcp-agent.

According to /proc/<pid>/smaps, memory footprint goes down from ~50MB
to ~1.5MB.

Also, haproxy is added to bindep in order to ensure that it's installed.

UpgradeImpact

Depends-On: I36a5531cacc21c0d4bb7f20d4bec6da65d04c262
Depends-On: Ia37368a7ff38ea48c683a7bad76f87697e194b04

Closes-Bug: #1524916
Change-Id: I5a75cc582dca48defafb440207d10e2f7b4f218b
2017-03-08 15:20:50 +00:00
..
eventlet Switch ns-metadata-proxy to haproxy 2017-03-08 15:20:50 +00:00
sanity OVS: merge the required OpenFlow version rather than replace 2017-01-25 08:57:09 +00:00
__init__.py Fix logging error for Guru Meditation Report 2016-02-08 16:52:17 -08:00
ipset_cleanup.py Refactoring config options for cmd 2016-07-31 04:37:29 +00:00
keepalived_state_change.py Replace keepalived notifier bash script with Python ip monitor 2015-03-18 18:59:33 -04:00
linuxbridge_cleanup.py neutron-lib: start using neutron-lib helpers 2016-10-10 01:30:26 -07:00
netns_cleanup.py Fix netns_cleanup interrupted on rwd I/O 2017-01-12 03:52:30 +00:00
ovs_cleanup.py Refactoring config options for cmd 2016-07-31 04:37:29 +00:00
pd_notify.py neutron-lib: use replace_file from neutron lib 2016-11-07 09:18:41 +00:00
sanity_check.py sanity check: Check that ip_nonlocal_bind works with namespaces 2016-11-18 08:36:51 -05:00